summaryrefslogtreecommitdiff
path: root/lib/obsd-device.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2008-02-12 10:19:19 +0100
committerMartin Mares <mj@ucw.cz>2008-02-12 10:19:19 +0100
commit9ff67879d0d4f2421c376825bf0aa3d7ff924e78 (patch)
treeb2fed437b262ec7aa7d34f253431947f385f4912 /lib/obsd-device.c
parentcb6ee324dd157dc5dec68eab488e7c829e92e2a2 (diff)
downloadpciutils-9ff67879d0d4f2421c376825bf0aa3d7ff924e78.tar.gz
Introduced API for selection of access methods.
Access method names were normalized (they so far served only informational purposes). Each access method gained a help text.
Diffstat (limited to 'lib/obsd-device.c')
-rw-r--r--lib/obsd-device.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/obsd-device.c b/lib/obsd-device.c
index 217e787..62395b3 100644
--- a/lib/obsd-device.c
+++ b/lib/obsd-device.c
@@ -136,7 +136,8 @@ obsd_write(struct pci_dev *d, int pos, byte *buf, int len)
}
struct pci_methods pm_obsd_device = {
- "OpenBSD-device",
+ "obsd-device",
+ "/dev/pci on OpenBSD",
obsd_config,
obsd_detect,
obsd_init,