aboutsummaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2016-03-08 15:49:52 +0000
committerMichael Brown <mcb30@ipxe.org>2016-03-08 17:38:06 +0000
commit299fdabe4848fae1bd4403836e21964c754ea9ef (patch)
tree82ddfc8ec939d5b46ece9863649b0f0d9e4485b0 /src/config
parent6a3ffa0114411ae4aa6c4485c6058bf03fec3623 (diff)
downloadipxe-299fdabe4848fae1bd4403836e21964c754ea9ef.tar.gz
[infiniband] Add "ibstat" command
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_infiniband.c7
-rw-r--r--src/config/general.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/config/config_infiniband.c b/src/config/config_infiniband.c
index a742e7559..8c63fb00e 100644
--- a/src/config/config_infiniband.c
+++ b/src/config/config_infiniband.c
@@ -37,3 +37,10 @@ PROVIDE_REQUIRING_SYMBOL();
#ifdef SANBOOT_PROTO_IB_SRP
REQUIRE_OBJECT ( ib_srp );
#endif
+
+/*
+ * Drag in Infiniband-specific commands
+ */
+#ifdef IBMGMT_CMD
+REQUIRE_OBJECT ( ibmgmt_cmd );
+#endif
diff --git a/src/config/general.h b/src/config/general.h
index ee15f6bf1..dba412128 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -120,6 +120,7 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
#define CONFIG_CMD /* Option configuration console */
#define IFMGMT_CMD /* Interface management commands */
#define IWMGMT_CMD /* Wireless interface management commands */
+#define IBMGMT_CMD /* Infiniband management commands */
#define FCMGMT_CMD /* Fibre Channel management commands */
#define ROUTE_CMD /* Routing table management commands */
#define IMAGE_CMD /* Image management commands */