summaryrefslogtreecommitdiffstats
path: root/sys/dev/xen/pcifront/pcifront.c
diff options
context:
space:
mode:
authorian <ian@FreeBSD.org>2014-05-14 01:35:43 +0000
committerian <ian@FreeBSD.org>2014-05-14 01:35:43 +0000
commitae2bbb5100a71ca9712eebe64ce4a80b680f030b (patch)
tree1c4d065284f91caf3dc2c3a2e356b290feec78db /sys/dev/xen/pcifront/pcifront.c
parent147aa314a7ea59fab69a92349cee312e49cae2bb (diff)
downloadFreeBSD-src-ae2bbb5100a71ca9712eebe64ce4a80b680f030b.zip
FreeBSD-src-ae2bbb5100a71ca9712eebe64ce4a80b680f030b.tar.gz
MFC r257334, r257336, r257337, r257338, r257341, r257342, r257343, r257370,
r257368, r257416 Hints-only devices should return BUS_PROBE_NOWILDCARD from their probe methods.
Diffstat (limited to 'sys/dev/xen/pcifront/pcifront.c')
-rw-r--r--sys/dev/xen/pcifront/pcifront.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xen/pcifront/pcifront.c b/sys/dev/xen/pcifront/pcifront.c
index cdc8f9c..1613e0a 100644
--- a/sys/dev/xen/pcifront/pcifront.c
+++ b/sys/dev/xen/pcifront/pcifront.c
@@ -441,7 +441,7 @@ xpcife_probe(device_t dev)
struct pcifront_device *pdev = (struct pcifront_device *)device_get_ivars(dev);
DPRINTF("xpcife probe (unit=%d)\n", pdev->unit);
#endif
- return 0;
+ return (BUS_PROBE_NOWILDCARD);
}
/* Newbus xpcife device driver attach */
OpenPOWER on IntegriCloud