mirror of
https://github.com/opnsense/src.git
synced 2026-02-18 18:20:26 -05: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 (cherry picked from commit 60516a51abd4b09095bc70a830e4a2c5c761af04)
This commit is contained in:
parent
4e3ad581b5
commit
09a4700fec
1 changed files with 2 additions and 0 deletions
|
|
@ -135,6 +135,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 a new issue