From 3fcd245ef1b9b0f378cc5680838b8d9173518da9 Mon Sep 17 00:00:00 2001 From: "Landon J. Fuller" Date: Mon, 27 Nov 2017 22:29:35 +0000 Subject: [PATCH] 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 --- sys/dev/bhnd/bhnd.c | 4 ++-- 1 file 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) {