svn commit: r326293 - head/sys/dev/bhnd

Landon J. Fuller landonf at FreeBSD.org
Mon Nov 27 22:29:37 UTC 2017


Author: landonf
Date: Mon Nov 27 22:29:35 2017
New Revision: 326293
URL: https://svnweb.freebsd.org/changeset/base/326293

Log:
  bhnd(4): Print the core's hardware revision in bhnd(4)'s
  BUS_PROBE_NOMATCH().
  
  Approved by:	adrian (mentor, implicit)
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/dev/bhnd/bhnd.c

Modified: head/sys/dev/bhnd/bhnd.c
==============================================================================
--- head/sys/dev/bhnd/bhnd.c	Mon Nov 27 22:13:30 2017	(r326292)
+++ head/sys/dev/bhnd/bhnd.c	Mon Nov 27 22:29:35 2017	(r326293)
@@ -892,8 +892,8 @@ bhnd_generic_probe_nomatch(device_t dev, device_t chil
 		return;
 
 	/* Print the non-matched device info */
-	device_printf(dev, "<%s %s>", bhnd_get_vendor_name(child),
-		bhnd_get_device_name(child));
+	device_printf(dev, "<%s %s, rev %hhu>", bhnd_get_vendor_name(child),
+		bhnd_get_device_name(child), bhnd_get_hwrev(child));
 
 	rl = BUS_GET_RESOURCE_LIST(dev, child);
 	if (rl != NULL) {


More information about the svn-src-head mailing list