summaryrefslogtreecommitdiffstats
path: root/sys/dev/hme
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-03-05 18:30:12 +0000
committerimp <imp@FreeBSD.org>2005-03-05 18:30:12 +0000
commita2e81fc93f4273fc79567fc60405bfcf7d210748 (patch)
treeafbc163f5f3767268b1fd7ccab0387eedffd6a2a /sys/dev/hme
parent5536442ca3f02a1d15b0694da7424ab1f803b2ae (diff)
downloadFreeBSD-src-a2e81fc93f4273fc79567fc60405bfcf7d210748.zip
FreeBSD-src-a2e81fc93f4273fc79567fc60405bfcf7d210748.tar.gz
Use BUS_PROBE_DEFAULT for pci probe return value
Diffstat (limited to 'sys/dev/hme')
-rw-r--r--sys/dev/hme/if_hme_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hme/if_hme_pci.c b/sys/dev/hme/if_hme_pci.c
index 929c286..a2833f2 100644
--- a/sys/dev/hme/if_hme_pci.c
+++ b/sys/dev/hme/if_hme_pci.c
@@ -129,7 +129,7 @@ hme_pci_probe(device_t dev)
if (pci_get_vendor(dev) == PCI_VENDOR_SUN &&
pci_get_device(dev) == PCI_PRODUCT_SUN_HMENETWORK) {
device_set_desc(dev, "Sun HME 10/100 Ethernet");
- return (0);
+ return (BUS_PROBE_DEFAULT);
}
return (ENXIO);
}
OpenPOWER on IntegriCloud