summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2009-01-20 00:05:43 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2009-01-20 00:05:43 +0000
commita4932bc6d04896b192055399e1dc0d1d11797887 (patch)
tree5f17b17b5a81d8603da5b87e8ef73b07579693da /sys/dev/pci
parent70abc2d871d4ed57cb377afde7933a4a3eb480f7 (diff)
downloadFreeBSD-src-a4932bc6d04896b192055399e1dc0d1d11797887.zip
FreeBSD-src-a4932bc6d04896b192055399e1dc0d1d11797887.tar.gz
Change the probe priority for PCI and I2C generic bus modules from
numerical constants to BUS_PROBE_GENERIC. Suggested by: jhb
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/pci/pci.c b/sys/dev/pci/pci.c
index a027e99..633c4d5 100644
--- a/sys/dev/pci/pci.c
+++ b/sys/dev/pci/pci.c
@@ -2644,7 +2644,7 @@ pci_probe(device_t dev)
device_set_desc(dev, "PCI bus");
/* Allow other subclasses to override this driver. */
- return (-1000);
+ return (BUS_PROBE_GENERIC);
}
static int
OpenPOWER on IntegriCloud