svn commit: r231690 - stable/9/sys/dev/mps

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


Author: ken
Date: Tue Feb 14 16:46:59 2012
New Revision: 231690
URL: http://svn.freebsd.org/changeset/base/231690

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/9/sys/dev/mps/mps_pci.c
Directory Properties:
  stable/9/sys/   (props changed)

Modified: stable/9/sys/dev/mps/mps_pci.c
==============================================================================
--- stable/9/sys/dev/mps/mps_pci.c	Tue Feb 14 15:58:49 2012	(r231689)
+++ stable/9/sys/dev/mps/mps_pci.c	Tue Feb 14 16:46:59 2012	(r231690)
@@ -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-stable-9 mailing list