summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath_pci.c
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-03-05 19:06:12 +0000
committerimp <imp@FreeBSD.org>2005-03-05 19:06:12 +0000
commit3c710e1d535262c983806046ad852f6f77dd33af (patch)
treeb684c2aaa84b32b63e1fd9b03343a035320c5877 /sys/dev/ath/if_ath_pci.c
parent7427eb62d695f711aeb0877a431da5220d2834f3 (diff)
downloadFreeBSD-src-3c710e1d535262c983806046ad852f6f77dd33af.zip
FreeBSD-src-3c710e1d535262c983806046ad852f6f77dd33af.tar.gz
Use BUS_PROBE_DEFAULT for pci probe return value
Diffstat (limited to 'sys/dev/ath/if_ath_pci.c')
-rw-r--r--sys/dev/ath/if_ath_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_pci.c b/sys/dev/ath/if_ath_pci.c
index 82f0376..cb176f0 100644
--- a/sys/dev/ath/if_ath_pci.c
+++ b/sys/dev/ath/if_ath_pci.c
@@ -90,7 +90,7 @@ ath_pci_probe(device_t dev)
devname = ath_hal_probe(pci_get_vendor(dev), pci_get_device(dev));
if (devname != NULL) {
device_set_desc(dev, devname);
- return 0;
+ return BUS_PROBE_DEFAULT;
}
return ENXIO;
}
OpenPOWER on IntegriCloud