svn commit: r322431 - head/sys/dev/iicbus

Ian Lepore ian at FreeBSD.org
Sat Aug 12 17:39:35 UTC 2017


Author: ian
Date: Sat Aug 12 17:39:32 2017
New Revision: 322431
URL: https://svnweb.freebsd.org/changeset/base/322431

Log:
  Bid for the device with BUS_PROBE_GENERIC, because this is very much a
  generic driver with minimal feature support for a large number of chips.
  More featureful per-chip drivers might exist (especially out-of-tree) and
  those should win the bidding even if they use BUS_PROBE_DEFAULT.

Modified:
  head/sys/dev/iicbus/nxprtc.c

Modified: head/sys/dev/iicbus/nxprtc.c
==============================================================================
--- head/sys/dev/iicbus/nxprtc.c	Sat Aug 12 17:07:32 2017	(r322430)
+++ head/sys/dev/iicbus/nxprtc.c	Sat Aug 12 17:39:32 2017	(r322431)
@@ -702,7 +702,7 @@ nxprtc_probe(device_t dev)
 #endif
 	device_set_desc(dev, desc_strings[chiptype]);
 
-	return (BUS_PROBE_DEFAULT);
+	return (BUS_PROBE_GENERIC);
 }
 
 static int


More information about the svn-src-head mailing list