mirror of
https://github.com/opnsense/src.git
synced 2026-04-25 16:18:54 -04:00
Like pciconf -l add a -l to dump_device_desc for usbconfig which will fold most fields into a single line. We do filter out some we think will not be interesting in this case. While mangling with string output in ways not always anticipated when the program was initially written this should help to parse the available devices for programs like fwget(8). While I had this in mind for other bits for a while I got prompted by D48678 to finally do it. Sponsored by: The FreebSD Foundation Reviewed by: bapt (LGTM), ziaee (man) Differential Revision: https://reviews.freebsd.org/D48974 (cherry picked from commit c66308d7bcc3931b60a096bfe6ba0f50105e77de) |
||
|---|---|---|
| .. | ||
| dump.c | ||
| dump.h | ||
| Makefile | ||
| Makefile.depend | ||
| pathnames.h | ||
| usbconfig.8 | ||
| usbconfig.c | ||