Date: Tue, 20 Jan 2009 00:05:43 +0000 (UTC) From: Nathan Whitehorn <nwhitehorn@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r187457 - in head/sys/dev: iicbus pci Message-ID: <200901200005.n0K05hUG025667@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901200005.n0K05hUG025667>