svn commit: r231485 - head/sys/dev/mps

Kenneth D. Merry ken at FreeBSD.org
Sat Feb 11 00:28:31 UTC 2012


Author: ken
Date: Sat Feb 11 00:28:30 2012
New Revision: 231485
URL: http://svn.freebsd.org/changeset/base/231485

Log:
  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.
  
  MFC after:	3 days

Modified:
  head/sys/dev/mps/mps_pci.c

Modified: head/sys/dev/mps/mps_pci.c
==============================================================================
--- head/sys/dev/mps/mps_pci.c	Sat Feb 11 00:19:31 2012	(r231484)
+++ head/sys/dev/mps/mps_pci.c	Sat Feb 11 00:28:30 2012	(r231485)
@@ -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-head mailing list