From 0586405abbeb51b5e427e766e8e599e3045f102b Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Fri, 27 Mar 2009 18:11:40 +0000 Subject: 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) --- libldetect.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libldetect.h') 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; -- cgit v1.2.1