summaryrefslogtreecommitdiffstats
path: root/src/config/config.c
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/config.c
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/config.c')
-rw-r--r--src/config/config.c3
1 files changed, 3 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