Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2012 00:28:30 +0000 (UTC)
From:      "Kenneth D. Merry" <ken@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r231485 - head/sys/dev/mps
Message-ID:  <201202110028.q1B0SUKD004248@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202110028.q1B0SUKD004248>