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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to