summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2010-09-15 04:08:47 +0200
committerMichael Brown2010-09-15 04:20:26 +0200
commitd2a2618d76b6ec82dd3cec6fe492d3a2fed87591 (patch)
tree01b32a877efa173dc1ba5166579f2e0009e2aa14 /src/config
parent[fc] Add Fibre Channel management commands (diff)
downloadipxe-d2a2618d76b6ec82dd3cec6fe492d3a2fed87591.tar.gz
ipxe-d2a2618d76b6ec82dd3cec6fe492d3a2fed87591.tar.xz
ipxe-d2a2618d76b6ec82dd3cec6fe492d3a2fed87591.zip
[fcp] Add support for the Fibre Channel Protocol
The Fibre Channel Protocol provides a mechanism for transporting SCSI commands via a Fibre Channel fabric. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config_fc.c7
-rw-r--r--src/config/defaults/pcbios.h1
-rw-r--r--src/config/general.h1
3 files changed, 9 insertions, 0 deletions
diff --git a/src/config/config_fc.c b/src/config/config_fc.c
index 26d9bf42..41464699 100644
--- a/src/config/config_fc.c
+++ b/src/config/config_fc.c
@@ -22,3 +22,10 @@ FILE_LICENCE ( GPL2_OR_LATER );
#ifdef FCMGMT_CMD
REQUIRE_OBJECT ( fcmgmt_cmd );
#endif
+
+/*
+ * Drag in Fibre Channel-specific protocols
+ */
+#ifdef SANBOOT_PROTO_FCP
+REQUIRE_OBJECT ( fcp );
+#endif
diff --git a/src/config/defaults/pcbios.h b/src/config/defaults/pcbios.h
index d2ffc3d2..165ee14c 100644
--- a/src/config/defaults/pcbios.h
+++ b/src/config/defaults/pcbios.h
@@ -33,5 +33,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define SANBOOT_PROTO_ISCSI /* iSCSI protocol */
#define SANBOOT_PROTO_AOE /* AoE protocol */
#define SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
+#define SANBOOT_PROTO_FCP /* Fibre Channel protocol */
#endif /* CONFIG_DEFAULTS_PCBIOS_H */
diff --git a/src/config/general.h b/src/config/general.h
index ee7f9034..661e834c 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -68,6 +68,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
//#undef SANBOOT_PROTO_ISCSI /* iSCSI protocol */
//#undef SANBOOT_PROTO_AOE /* AoE protocol */
//#undef SANBOOT_PROTO_IB_SRP /* Infiniband SCSI RDMA protocol */
+//#undef SANBOOT_PROTO_FCP /* Fibre Channel protocol */
/*
* 802.11 cryptosystems and handshaking protocols