svn commit: r231691 - stable/8/sys/dev/mps

Kenneth D. Merry ken at FreeBSD.org
Tue Feb 14 16:47:52 UTC 2012


Author: ken
Date: Tue Feb 14 16:47:52 2012
New Revision: 231691
URL: http://svn.freebsd.org/changeset/base/231691

Log:
  MFC 231485
  
  Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR from the mps driver
  probe routine.
  
  This will allow LSI to ship drivers that return BUS_PROBE_VENDOR to
  override the in-tree version of the driver.

Modified:
  stable/8/sys/dev/mps/mps_pci.c
Directory Properties:
  stable/8/sys/   (props changed)

Modified: stable/8/sys/dev/mps/mps_pci.c
==============================================================================
--- stable/8/sys/dev/mps/mps_pci.c	Tue Feb 14 16:46:59 2012	(r231690)
+++ stable/8/sys/dev/mps/mps_pci.c	Tue Feb 14 16:47:52 2012	(r231691)
@@ -172,7 +172,7 @@ mps_pci_probe(device_t dev)
 
 	if ((id = mps_find_ident(dev)) != NULL) {
 		device_set_desc(dev, id->desc);
-		return (BUS_PROBE_VENDOR);
+		return (BUS_PROBE_DEFAULT);
 	}
 	return (ENXIO);
 }


More information about the svn-src-all mailing list