Allow to call 'pci regions' with non-zero bus number and allow to call 'pci' and 'pci regions' commands with bus number '*' which process all buses. This would be also new default action if no bus is specified.
Pali Rohár (4): pci: Fix setting controller's last_busno pci: Extend 'pci regions' command with bus number pci: Add checks for valid cmdline arguments pci: Extend 'pci' command with bus option '*' cmd/pci.c | 56 +++++++++++++++++++++++++++++++--------- drivers/pci/pci-uclass.c | 2 ++ 2 files changed, 46 insertions(+), 12 deletions(-) -- 2.20.1