From d2a2618d76b6ec82dd3cec6fe492d3a2fed87591 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Wed, 15 Sep 2010 03:08:47 +0100 Subject: [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 --- src/config/config_fc.c | 7 +++++++ src/config/defaults/pcbios.h | 1 + src/config/general.h | 1 + 3 files changed, 9 insertions(+) (limited to 'src/config') 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 -- cgit v1.2.3-55-g7522