Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Aug 2017 17:39:32 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r322431 - head/sys/dev/iicbus
Message-ID:  <201708121739.v7CHdWYG092504@repo.freebsd.org>

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



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