svn commit: r187457 - in head/sys/dev: iicbus pci
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Mon Jan 19 16:05:44 PST 2009
Author: nwhitehorn
Date: Tue Jan 20 00:05:43 2009
New Revision: 187457
URL: http://svn.freebsd.org/changeset/base/187457
Log:
Change the probe priority for PCI and I2C generic bus modules from
numerical constants to BUS_PROBE_GENERIC.
Suggested by: jhb
Modified:
head/sys/dev/iicbus/iicbus.c
head/sys/dev/pci/pci.c
Modified: head/sys/dev/iicbus/iicbus.c
==============================================================================
--- head/sys/dev/iicbus/iicbus.c Tue Jan 20 00:03:52 2009 (r187456)
+++ head/sys/dev/iicbus/iicbus.c Tue Jan 20 00:05:43 2009 (r187457)
@@ -55,7 +55,7 @@ iicbus_probe(device_t dev)
device_set_desc(dev, "Philips I2C bus");
/* Allow other subclasses to override this driver. */
- return (-1000);
+ return (BUS_PROBE_GENERIC);
}
#if SCAN_IICBUS
Modified: head/sys/dev/pci/pci.c
==============================================================================
--- head/sys/dev/pci/pci.c Tue Jan 20 00:03:52 2009 (r187456)
+++ head/sys/dev/pci/pci.c Tue Jan 20 00:05:43 2009 (r187457)
@@ -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
More information about the svn-src-all
mailing list