aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/bhnd
diff options
context:
space:
mode:
authorLandon J. Fuller <landonf@FreeBSD.org>2017-11-27 22:29:35 +0000
committerLandon J. Fuller <landonf@FreeBSD.org>2017-11-27 22:29:35 +0000
commit3fcd245ef1b9b0f378cc5680838b8d9173518da9 (patch)
treea433db841870933f9254c3a43efe796fe2e08ee3 /sys/dev/bhnd
parentac59515b9800732037d8147e96afd9927d3a7ae7 (diff)
downloadsrc-3fcd245ef1b9b0f378cc5680838b8d9173518da9.tar.gz
src-3fcd245ef1b9b0f378cc5680838b8d9173518da9.zip
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
Notes
Notes: svn path=/head/; revision=326293
Diffstat (limited to 'sys/dev/bhnd')
-rw-r--r--sys/dev/bhnd/bhnd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/bhnd/bhnd.c b/sys/dev/bhnd/bhnd.c
index 3e42c141dd86..f9935385d3f4 100644
--- a/sys/dev/bhnd/bhnd.c
+++ b/sys/dev/bhnd/bhnd.c
@@ -892,8 +892,8 @@ bhnd_generic_probe_nomatch(device_t dev, device_t child)
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) {