summaryrefslogtreecommitdiffstats
path: root/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'pci.c')
-rw-r--r--pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pci.c b/pci.c
index db840c2..168191e 100644
--- a/pci.c
+++ b/pci.c
@@ -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