summaryrefslogtreecommitdiffstats
path: root/libldetect.h
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-13 13:41:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-13 13:41:11 +0000
commita25e48640b4d11cdb4d83cb878af082a00df59b9 (patch)
tree30efb75a523539baee9d0df3af92549f3c45f2a6 /libldetect.h
parent30b8e72afa22a7ff5a72370e4dc0cfbe0a329ada (diff)
downloadldetect-a25e48640b4d11cdb4d83cb878af082a00df59b9.tar
ldetect-a25e48640b4d11cdb4d83cb878af082a00df59b9.tar.gz
ldetect-a25e48640b4d11cdb4d83cb878af082a00df59b9.tar.bz2
ldetect-a25e48640b4d11cdb4d83cb878af082a00df59b9.tar.xz
ldetect-a25e48640b4d11cdb4d83cb878af082a00df59b9.zip
use the sub-category for usb probing
Diffstat (limited to 'libldetect.h')
-rw-r--r--libldetect.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libldetect.h b/libldetect.h
index d61b0ab..4733d9e 100644
--- a/libldetect.h
+++ b/libldetect.h
@@ -7,7 +7,7 @@ struct pciusb_entry {
unsigned short subvendor; /* 0xffff if not probe_type'd or no subid */
unsigned short subdevice; /* 0xffff if not probe_type'd or no subid */
- unsigned short class; /* 0 if not probe_type'd */
+ unsigned long class; /* 0 if not probe_type'd */
unsigned short pci_bus; /* pci bus id 8 bits wide */
unsigned short pci_device; /* pci device id 5 bits wide */
@@ -28,10 +28,10 @@ extern void pciusb_free(struct pciusb_entries entries);
/* pci ************************************************************************/
/******************************************************************************/
extern struct pciusb_entries pci_probe(int probe_type); /* probe_type is boolean */
-extern const char *pci_class2text(unsigned short class);
+extern const char *pci_class2text(unsigned long class);
/******************************************************************************/
/* usb ************************************************************************/
/******************************************************************************/
extern struct pciusb_entries usb_probe(void);
-extern const char *usb_class2text(unsigned short class);
+extern const char *usb_class2text(unsigned long class);