diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-09-28 09:57:25 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-09-28 09:57:25 +0000 |
commit | b16665b96be116a86077edd5095afcae3e14a188 (patch) | |
tree | cbeba3543b2534a8b35e3df2f6345bbb604fe507 | |
parent | 063292ab47c895426d163811b7713cd441716492 (diff) | |
download | ldetect-b16665b96be116a86077edd5095afcae3e14a188.tar ldetect-b16665b96be116a86077edd5095afcae3e14a188.tar.gz ldetect-b16665b96be116a86077edd5095afcae3e14a188.tar.bz2 ldetect-b16665b96be116a86077edd5095afcae3e14a188.tar.xz ldetect-b16665b96be116a86077edd5095afcae3e14a188.zip |
(pci_probe) fix inverted test for choosing between '8139cp' &
'8139too' drivers (#53349)
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | pci.c | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,5 @@ +- fix inverted test for choosing between '8139cp' & '8139too' drivers (#53349) + Version 0.9.0 - 23 September 2009, Thierry Vignaud - display PCI revision (#42576) @@ -95,7 +95,7 @@ extern struct pciusb_entries pci_probe(void) { } class_prog = buf[PCI_CLASS_PROG]; - if (e->device == 0x10ec && e->subvendor == 0x8139) { + if (e->vendor == 0x10ec && e->device == 0x8139) { if (e->pci_revision < 0x20) e->module = strdup("8139too"); else |