PCI: add draft lspci command
RFC 4/5 PCI: add draft lspci command
Signed-off-by Antony Pavlov <[email protected]>
--- commands/Kconfig | 8 ++++++++ commands/Makefile | 1 + commands/lspci.c | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+), 0 deletions(-) create mode 100644 commands/lspci.c
commands/Kconfig +8 -0
@@ -442,6 +442,14 @@ config CMD_USB help The usb command allows to rescan for USB devices. +config CMD_LSPCI + bool + depends on PCI + prompt "lspci command" + default y + help + The lspci command allows to list all PCI devices. + endmenu endif
commands/Makefile +1 -0
@@ -58,3 +58,4 @@ obj-$(CONFIG_CMD_LED) += led.o obj-$(CONFIG_CMD_LED_TRIGGER) += trigger.o obj-$(CONFIG_CMD_USB) += usb.o obj-$(CONFIG_CMD_TIME) += time.o +obj-$(CONFIG_CMD_LSPCI) += lspci.o
commands/lspci.c new file +53 -0
53 lines not on this page · raw message
Signature · 7 lines
1.7.5.4 _______________________________________________ barebox mailing list [email protected] http://lists.infradead.org/mailman/listinfo/barebox