summaryrefslogtreecommitdiffstats
path: root/src/config/config_infiniband.c
diff options
context:
space:
mode:
authorMichael Brown2010-09-12 22:44:48 +0200
committerMichael Brown2010-09-12 23:26:44 +0200
commit50da1122e6d215d11e1eb9eac144ede3e25e7f3f (patch)
tree76935d5cf5fa989dd598c591582ba850960bb5c1 /src/config/config_infiniband.c
parent[ethernet] Include AoE only for Ethernet builds (diff)
downloadipxe-50da1122e6d215d11e1eb9eac144ede3e25e7f3f.tar.gz
ipxe-50da1122e6d215d11e1eb9eac144ede3e25e7f3f.tar.xz
ipxe-50da1122e6d215d11e1eb9eac144ede3e25e7f3f.zip
[infiniband] Include SRP by default, but only for Infiniband builds
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config/config_infiniband.c')
-rw-r--r--src/config/config_infiniband.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/config/config_infiniband.c b/src/config/config_infiniband.c
new file mode 100644
index 00000000..1b8c53a9
--- /dev/null
+++ b/src/config/config_infiniband.c
@@ -0,0 +1,23 @@
+/*
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2, or (at
+ * your option) any later version.
+ */
+
+FILE_LICENCE ( GPL2_OR_LATER );
+
+#include <config/general.h>
+
+/** @file
+ *
+ * Infiniband configuration options
+ *
+ */
+
+/*
+ * Drag in Infiniband-specific protocols
+ */
+#ifdef SANBOOT_PROTO_IB_SRP
+REQUIRE_OBJECT ( ib_srpboot );
+#endif