[Toybox] [PATCH] lspci: add -x.

enh enh at google.com
Wed Apr 5 14:30:57 PDT 2023


I caught someone using pciutils lspci, asked why, and -x (including
-xxx) and -v (specifically -vvv) were the reasons. I took a quick look,
and -x in particular seemed easy (modulo the TODO I've left in the code).

I notice that half the pci devices on my machine are missing from the
toybox lspci output versus the pciutils lspci --- it looks like
scan_uevent() is returning 2 for the bridges?
---
 toys/other/lsusb.c | 33 ++++++++++++++++++++++++++-------
 1 file changed, 26 insertions(+), 7 deletions(-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20230405/ddaa6411/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lspci-add-x.patch
Type: application/octet-stream
Size: 2468 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20230405/ddaa6411/attachment.obj>


More information about the Toybox mailing list