summaryrefslogtreecommitdiffstats
path: root/sys/dev/wi
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/wi
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/wi')
-rw-r--r--sys/dev/wi/if_wi_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/wi/if_wi_pci.c b/sys/dev/wi/if_wi_pci.c
index 932a0c3..a8e955f 100644
--- a/sys/dev/wi/if_wi_pci.c
+++ b/sys/dev/wi/if_wi_pci.c
@@ -128,7 +128,7 @@ wi_pci_probe(dev)
(pci_get_device(dev) == pci_ids[i].device)) {
sc->wi_bus_type = pci_ids[i].bus_type;
device_set_desc(dev, pci_ids[i].desc);
- return (0);
+ return (BUS_PROBE_DEFAULT);
}
}
return(ENXIO);
OpenPOWER on IntegriCloud