summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2017-03-28 14:22:42 +0200
committerMichael Brown2017-03-28 16:34:41 +0200
commitfa879f9f52be070949377ddb85acb1d55e88af68 (patch)
tree0164d65ce913ee42f645fc12cf7b242e089e0fb2
parent[block] Gracefully close SAN device if registration fails (diff)
downloadipxe-fa879f9f52be070949377ddb85acb1d55e88af68.tar.gz
ipxe-fa879f9f52be070949377ddb85acb1d55e88af68.tar.xz
ipxe-fa879f9f52be070949377ddb85acb1d55e88af68.zip
[linux] Use dummy SAN device
Allow for easier testing of SAN code by using the dummy SAN device by default. Signed-off-by: Michael Brown <mcb30@ipxe.org>
-rw-r--r--src/config/defaults/linux.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/config/defaults/linux.h b/src/config/defaults/linux.h
index bc5ba785..75fd617f 100644
--- a/src/config/defaults/linux.h
+++ b/src/config/defaults/linux.h
@@ -15,7 +15,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define UMALLOC_LINUX
#define NAP_LINUX
#define SMBIOS_LINUX
-#define SANBOOT_NULL
+#define SANBOOT_DUMMY
#define ENTROPY_LINUX
#define TIME_LINUX
#define REBOOT_NULL
@@ -25,4 +25,10 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define IMAGE_SCRIPT
+#define SANBOOT_PROTO_ISCSI
+#define SANBOOT_PROTO_AOE
+#define SANBOOT_PROTO_IB_SRP
+#define SANBOOT_PROTO_FCP
+#define SANBOOT_PROTO_HTTP
+
#endif /* CONFIG_DEFAULTS_LINUX_H */