summaryrefslogtreecommitdiff
path: root/src/bios_dev_name.h
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-03-16 15:41:29 -0700
committerStephen Hemminger <shemminger@vyatta.com>2012-03-16 15:41:29 -0700
commit3dcf4140386b3e63955790d87093521f021bedee (patch)
tree1d1eeb5723da2b0a9c6cc1e848824010c16fc6bb /src/bios_dev_name.h
parent868f348533d99b05782cd8bfedb18b9f91b393bc (diff)
downloadvyatta-biosdevname-3dcf4140386b3e63955790d87093521f021bedee.tar.gz
vyatta-biosdevname-3dcf4140386b3e63955790d87093521f021bedee.zip
Add option to search for device based on pci-id
To support case where device is not in kernel (userspace networking) need a method for finding device by pci-id. Biosdevname was already building the table, this just adds an alternative lookup algorithm.
Diffstat (limited to 'src/bios_dev_name.h')
-rw-r--r--src/bios_dev_name.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bios_dev_name.h b/src/bios_dev_name.h
index 636c5e1..98197d4 100644
--- a/src/bios_dev_name.h
+++ b/src/bios_dev_name.h
@@ -15,6 +15,6 @@ struct bios_dev_name_opts {
const char *prefix;
unsigned int debug:1;
unsigned int interface:1;
+ unsigned int usepci:1;
};
-
#endif /* GLUE_H_INCLUDED */