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(-)

Attachment: 0001-lspci-add-x.patch
Description: Binary data

_______________________________________________
Toybox mailing list
Toybox@lists.landley.net
http://lists.landley.net/listinfo.cgi/toybox-landley.net

Reply via email to