summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2013-08-01 17:53:17 +0200
committerMichael Brown2013-08-05 14:51:21 +0200
commitb76885165e64a836ac1e2ea987bdb1b724b7b2b3 (patch)
tree60c8c270ca58655656b0fe752b8d8f285b8798a5 /src/config
parent[pci] Add pci_find_next() to iterate over existent PCI devices (diff)
downloadipxe-b76885165e64a836ac1e2ea987bdb1b724b7b2b3.tar.gz
ipxe-b76885165e64a836ac1e2ea987bdb1b724b7b2b3.tar.xz
ipxe-b76885165e64a836ac1e2ea987bdb1b724b7b2b3.zip
[cmdline] Add "pciscan" command to allow iteration over PCI devices
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.c3
-rw-r--r--src/config/general.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index b17b335b..437f6133 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -260,6 +260,9 @@ REQUIRE_OBJECT ( sync_cmd );
#ifdef NSLOOKUP_CMD
REQUIRE_OBJECT ( nslookup_cmd );
#endif
+#ifdef PCI_CMD
+REQUIRE_OBJECT ( pci_cmd );
+#endif
/*
* Drag in miscellaneous objects
diff --git a/src/config/general.h b/src/config/general.h
index 3fd7408d..645f1341 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -129,6 +129,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
//#define REBOOT_CMD /* Reboot command */
//#define POWEROFF_CMD /* Power off command */
//#define IMAGE_TRUST_CMD /* Image trust management commands */
+//#define PCI_CMD /* PCI commands */
/*
* ROM-specific options