aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorAdheer Chandravanshi <adheer.chandravanshi@qlogic.com>2013-03-25 08:08:31 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-04-11 18:34:33 -0400
commit2902eb495d71e5cd410c9d94200d35e047404630 (patch)
tree8b078c9a68ed40c6ab4e07c2eba77ef44beef52c /include/scsi
parent1e9e2be3ee03b8b5c6066d3943c9c5ab1632ed0a (diff)
[SCSI] scsi_transport_iscsi: Declare portal type string macros for generic use
Signed-off-by: Adheer Chandravanshi <adheer.chandravanshi@qlogic.com> Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/iscsi_if.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h
index f1b01839490c..fe7f06c86f68 100644
--- a/include/scsi/iscsi_if.h
+++ b/include/scsi/iscsi_if.h
@@ -504,6 +504,10 @@ enum iscsi_host_param {
504 ISCSI_HOST_PARAM_MAX, 504 ISCSI_HOST_PARAM_MAX,
505}; 505};
506 506
507/* portal type */
508#define PORTAL_TYPE_IPV4 "ipv4"
509#define PORTAL_TYPE_IPV6 "ipv6"
510
507/* iSCSI Flash Target params */ 511/* iSCSI Flash Target params */
508enum iscsi_flashnode_param { 512enum iscsi_flashnode_param {
509 ISCSI_FLASHNODE_IS_FW_ASSIGNED_IPV6, 513 ISCSI_FLASHNODE_IS_FW_ASSIGNED_IPV6,