[Toybox] [PATCH] lspci fixes for multi-controller hosts

Dmitry Buzdyk dima.buzdyk at gmail.com
Fri Jun 14 06:51:30 PDT 2024


Couple of patches for the systems with multiple PCIe controllers.
In my case it has 2 controllers and output of the lspci (with patches applied)
looks like this:

0000:00:00.0  [060400]:   [17cb:0113]
0000:01:00.0  [0c0330]:   [1912:0014] (rev 03) xhci_hcd
0001:00:00.0  [060400]:   [17cb:0113]
0001:01:00.0  [060400]:   [1179:0623]
0001:02:01.0  [060400]:   [1179:0623]
0001:02:02.0  [060400]:   [1179:0623]
0001:02:03.0  [060400]:   [1179:0623]
0001:03:00.0  [040000]:   [17cd:0202]
0001:04:00.0  [0c0330]:   [1912:0014] (rev 03) xhci_hcd
0001:05:00.0  [020000]:   [1179:0220] tc956x_pci-eth
0001:05:00.1  [020000]:   [1179:0220] tc956x_pci-eth


1. Fix "lspci -x" taking into account full PCI_PATH_NAME
2. Print full PCI_PATH_NAME to the output.

--
Dima
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lsusb-config-space-dump-with-multiple-PCIe-controlle.patch
Type: text/x-patch
Size: 1110 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240614/467da0ee/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-lspci-print-full-pci-path.patch
Type: text/x-patch
Size: 827 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20240614/467da0ee/attachment-0001.bin>


More information about the Toybox mailing list