Support for PCI_FILL_PARENT
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | libpci: Add new option PCI_FILL_PARENTlib/ | +2 | 0 replies | |
| 2/4 | libpci: sysfs: Implement support for PCI_FILL_PARENTlib/ | +31 | 0 replies | |
| 3/4 | lspci: Build tree based on PCI_FILL_PARENT informationls-tree.c lspci.c | +62 | 0 replies | |
| 4/4 | lspci: Do not show -[00]- bus in tree outputls-tree.c | +3 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH pciutils 0/4] Support for PCI_FILL_PARENT
Extend libpci API with a new option PCI_FILL_PARENT to fill parent device for the current enumerated device. This can be useful in situation when non-complaint PCI-to-PCI bridge-like device with Type 0 header is present in the system and behind this bridge are either endpoint devices or another non-compliant bridges. This applies e.g. for notoriously broken Galileo and Marvell PCI and PCIe devices. lspci can will use PCI_FILL_PARENT information from the system if config space does not provide enough information to build topology.
Pali Rohár (4):
libpci: Add new option PCI_FILL_PARENT
libpci: sysfs: Implement support for PCI_FILL_PARENT
lspci: Build tree based on PCI_FILL_PARENT information
lspci: Do not show -[00]- bus in tree output
lib/pci.h | 2 ++ lib/sysfs.c | 31 ++++++++++++++++++++++++ ls-tree.c | 69 +++++++++++++++++++++++++++++++++++++++++++++++++---- lspci.c | 2 +- 4 files changed, 98 insertions(+), 6 deletions(-)
Signature · 1 line
2.20.1