summaryrefslogtreecommitdiffstats
path: root/sys/dev/ubsec
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-03-01 07:50:12 +0000
committerimp <imp@FreeBSD.org>2005-03-01 07:50:12 +0000
commitca5e477ca2bce8c6983ba3d48bdec85ca0c8fd37 (patch)
tree60438a3fca2e5272601be58cd8fca3817dc8ed2d /sys/dev/ubsec
parentbdb2a763651df2b1f12aa351f33d6d94f620e896 (diff)
downloadFreeBSD-src-ca5e477ca2bce8c6983ba3d48bdec85ca0c8fd37.zip
FreeBSD-src-ca5e477ca2bce8c6983ba3d48bdec85ca0c8fd37.tar.gz
Use BUS_PROBE_DEFAULT in preference to 0. Also for vx, return
BUS_PROBE_LOW_PRIORITY in stead of ifdef for devices that xl and vx both support so that xl will snarf them on up.
Diffstat (limited to 'sys/dev/ubsec')
-rw-r--r--sys/dev/ubsec/ubsec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ubsec/ubsec.c b/sys/dev/ubsec/ubsec.c
index 39da78c..338ce63 100644
--- a/sys/dev/ubsec/ubsec.c
+++ b/sys/dev/ubsec/ubsec.c
@@ -199,11 +199,11 @@ ubsec_probe(device_t dev)
if (pci_get_vendor(dev) == PCI_VENDOR_SUN &&
(pci_get_device(dev) == PCI_PRODUCT_SUN_5821 ||
pci_get_device(dev) == PCI_PRODUCT_SUN_SCA1K))
- return (0);
+ return (BUS_PROBE_DEFAULT);
if (pci_get_vendor(dev) == PCI_VENDOR_BLUESTEEL &&
(pci_get_device(dev) == PCI_PRODUCT_BLUESTEEL_5501 ||
pci_get_device(dev) == PCI_PRODUCT_BLUESTEEL_5601))
- return (0);
+ return (BUS_PROBE_DEFAULT);
if (pci_get_vendor(dev) == PCI_VENDOR_BROADCOM &&
(pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5801 ||
pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5802 ||
@@ -213,7 +213,7 @@ ubsec_probe(device_t dev)
pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5822 ||
pci_get_device(dev) == PCI_PRODUCT_BROADCOM_5823
))
- return (0);
+ return (BUS_PROBE_DEFAULT);
return (ENXIO);
}
OpenPOWER on IntegriCloud