summaryrefslogtreecommitdiffstats
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 15:34:33 -0700
commit2902eb495d71e5cd410c9d94200d35e047404630 (patch)
tree8b078c9a68ed40c6ab4e07c2eba77ef44beef52c /include/scsi
parent1e9e2be3ee03b8b5c6066d3943c9c5ab1632ed0a (diff)
downloadop-kernel-dev-2902eb495d71e5cd410c9d94200d35e047404630.zip
op-kernel-dev-2902eb495d71e5cd410c9d94200d35e047404630.tar.gz
[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 f1b0183..fe7f06c 100644
--- a/include/scsi/iscsi_if.h
+++ b/include/scsi/iscsi_if.h
@@ -504,6 +504,10 @@ enum iscsi_host_param {
ISCSI_HOST_PARAM_MAX,
};
+/* portal type */
+#define PORTAL_TYPE_IPV4 "ipv4"
+#define PORTAL_TYPE_IPV6 "ipv6"
+
/* iSCSI Flash Target params */
enum iscsi_flashnode_param {
ISCSI_FLASHNODE_IS_FW_ASSIGNED_IPV6,
OpenPOWER on IntegriCloud