1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

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
This commit is contained in:
Landon J. Fuller 2017-11-27 22:29:35 +00:00
parent ac59515b98
commit 3fcd245ef1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326293

View File

@ -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) {