summaryrefslogtreecommitdiffstats
path: root/src/core/config.c
diff options
context:
space:
mode:
authorMichael Brown2008-10-13 11:05:23 +0200
committerMichael Brown2008-10-13 11:05:51 +0200
commit54c024e0af429e544137fb12002591cea50634a8 (patch)
tree479cfd4116d46412a821257154ed51963da3d7e9 /src/core/config.c
parent[config] Make the default image type selection platform-dependent (diff)
downloadipxe-54c024e0af429e544137fb12002591cea50634a8.tar.gz
ipxe-54c024e0af429e544137fb12002591cea50634a8.tar.xz
ipxe-54c024e0af429e544137fb12002591cea50634a8.zip
[sanboot] Quick and dirty hack to make SAN boot protocols selectable
Diffstat (limited to 'src/core/config.c')
-rw-r--r--src/core/config.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/config.c b/src/core/config.c
index 0ed837d7..ee16b9c1 100644
--- a/src/core/config.c
+++ b/src/core/config.c
@@ -95,6 +95,17 @@ REQUIRE_OBJECT ( slam );
#endif
/*
+ * Drag in all requested SAN boot protocols
+ *
+ */
+#ifdef SANBOOT_PROTO_ISCSI
+REQUIRE_OBJECT ( iscsiboot );
+#endif
+#ifdef SANBOOT_PROTO_AOE
+REQUIRE_OBJECT ( aoeboot );
+#endif
+
+/*
* Drag in all requested resolvers
*
*/