mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 20:12:44 +00:00
devinfo: Output device description in verbose mode
The description is listed in angle brackets after the device name similar to device probe messages. Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D47157
This commit is contained in:
parent
3342afcbaf
commit
60516a51ab
@ -134,6 +134,8 @@ print_dev(struct devinfo_dev *dev)
|
||||
{
|
||||
|
||||
printf("%s", dev->dd_name[0] ? dev->dd_name : "unknown");
|
||||
if (vflag && *dev->dd_desc)
|
||||
printf(" <%s>", dev->dd_desc);
|
||||
if (vflag && *dev->dd_pnpinfo)
|
||||
printf(" pnpinfo %s", dev->dd_pnpinfo);
|
||||
if (vflag && *dev->dd_location)
|
||||
|
Loading…
Reference in New Issue
Block a user