diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 2000-01-15 18:04:28 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 2000-01-15 18:04:28 +0000 |
| commit | cf91f8282c8537baf273d2a0b904d225e1c04f77 (patch) | |
| tree | a7e94f3d4dc3d9db7092a5d18decf3e02fa38afd /sys/dev | |
| parent | d82f495687f85109060a381017cd413da8e8743c (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -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 104d4de3ff965..c114afb91ddaf 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); } |
