Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Nov 2017 22:29:36 +0000 (UTC)
From:      "Landon J. Fuller" <landonf@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r326293 - head/sys/dev/bhnd
Message-ID:  <201711272229.vARMTavO003890@repo.freebsd.org>

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



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