diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-29 12:17:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2002-08-29 12:17:01 +0000 |
commit | 5c45fe3c13ff42ccb715733a4b1fc31891faf6d7 (patch) | |
tree | c3055c582b70b4ef460a8c42478f05662ebdf01e /pci.c | |
parent | 2cad6b607345dc81e94b41056aee840f943dfee4 (diff) | |
download | ldetect-5c45fe3c13ff42ccb715733a4b1fc31891faf6d7.tar ldetect-5c45fe3c13ff42ccb715733a4b1fc31891faf6d7.tar.gz ldetect-5c45fe3c13ff42ccb715733a4b1fc31891faf6d7.tar.bz2 ldetect-5c45fe3c13ff42ccb715733a4b1fc31891faf6d7.tar.xz ldetect-5c45fe3c13ff42ccb715733a4b1fc31891faf6d7.zip |
fix PCI_CLASS_PROG offset
Diffstat (limited to 'pci.c')
-rw-r--r-- | pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -57,7 +57,7 @@ extern struct pciusb_entries pci_probe(int probe_type) { e->subvendor = 0xffff; e->subdevice = 0xffff; } - class_prog = bufi[0x9]; + class_prog = buf[0x9]; if (e->class_ == PCI_CLASS_SERIAL_USB) /* taken from kudzu's pci.c */ e->module = strdup(class_prog == 0 ? "usb-uhci" : "usb-ohci"); fclose(devf); |