summaryrefslogtreecommitdiffstats
path: root/libldetect.h
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-03-27 18:11:40 +0000
committerOlivier Blin <oblin@mandriva.com>2009-03-27 18:11:40 +0000
commit0586405abbeb51b5e427e766e8e599e3045f102b (patch)
treeb93132cdc12cdd9c2a950aaf9c9516f125425f00 /libldetect.h
parentd5330a61866c21575f074423a382d33642ff3adb (diff)
downloadldetect-0586405abbeb51b5e427e766e8e599e3045f102b.tar
ldetect-0586405abbeb51b5e427e766e8e599e3045f102b.tar.gz
ldetect-0586405abbeb51b5e427e766e8e599e3045f102b.tar.bz2
ldetect-0586405abbeb51b5e427e766e8e599e3045f102b.tar.xz
ldetect-0586405abbeb51b5e427e766e8e599e3045f102b.zip
use /sys/bus/usb/devices instead of /sys/class/usb_device (disabled in kernel) to find modalias (this breaks ABI because we now need to keep port number)
Diffstat (limited to 'libldetect.h')
-rw-r--r--libldetect.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libldetect.h b/libldetect.h
index 4e9b2d1..6ad02e7 100644
--- a/libldetect.h
+++ b/libldetect.h
@@ -18,6 +18,8 @@ struct pciusb_entry {
unsigned short pci_device; /* pci device id 5 bits wide */
unsigned short pci_function; /* pci function id 3 bits wide */
+ unsigned short usb_port; /* pci function id 3 bits wide */
+
char *module;
char *text;
char* class;