summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
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 26d9bf427..414646994 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 d2ffc3d23..165ee14c3 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 ee7f9034d..661e834ca 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