pci: display header for bus scan
PATCH 1/1 pci: display header for bus scan
If we are displaying detected PCI devices (CONFIG_PCI_SCAN_SHOW) display a 'PCI:' header prior to scan.
Signed-off-by Tim Harvey <[email protected]>
--- drivers/pci/pci.c | 4 ++++ 1 file changed, 4 insertions(+)
drivers/pci/pci.c +4 -0
@@ -772,6 +772,10 @@ int pci_hose_scan(struct pci_controller *hose) }#endif /* CONFIG_PCI_BOOTDELAY */ +#ifdef CONFIG_PCI_SCAN_SHOW +puts ("PCI:\n" ); +#endif +/* * Start scan at current_busno. * PCIe will start scan at first_busno+1.
Signature · 1 line
1.9.1
PATCH 1/1 pci: display header for bus scan
Quoted 24 lines · Tim Harvey
If we are displaying detected PCI devices (
CONFIG_PCI_SCAN_SHOW) display a 'PCI:' header prior to scan.Signed-off-by Tim Harvey <[email protected]>--- drivers/pci/pci.c | 4 ++++ 1 file changed, 4 insertions(+)drivers/pci/pci.c +4
-1@@ -772,6 +772,10 @@ int pci_hose_scan(struct pci_controller *hose) }#endif /* CONFIG_PCI_BOOTDELAY */ +#ifdef CONFIG_PCI_SCAN_SHOW +puts ("PCI:\n" ); +#endif +/* * Start scan at current_busno. * PCIe will start scan at first_busno+1. --
Quoted 2 lines
1.9.1
Tom,
I probably should have sent this one directly to you as there doesn't seem to be a clear PCI maintainer. If CONFIG_PCI_SCAN_SHOW is defined then a multi-line tree-like display is printed showing the bus enumeration - this just puts a header before it so it appears like the rest of the subsystems.
Regards,
Tim
Quoted 4 lines · Tim Harvey
If we are displaying detected PCI devices (
CONFIG_PCI_SCAN_SHOW) display a 'PCI:' header prior to scan.Signed-off-by Tim Harvey <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150528/33b2abbd/attachment.sig>