diff options
-rw-r--r-- | sys/dev/an/if_an_pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/an/if_an_pci.c b/sys/dev/an/if_an_pci.c index 104d4de..c114afb 100644 --- a/sys/dev/an/if_an_pci.c +++ b/sys/dev/an/if_an_pci.c @@ -120,7 +120,7 @@ static int an_probe_pci(device_t dev) while(t->an_name != NULL) { if (pci_get_vendor(dev) == t->an_vid && - pci_get_vendor(dev) == t->an_did) { + pci_get_device(dev) == t->an_did) { device_set_desc(dev, t->an_name); return(0); } |