diff options
author | Adheer Chandravanshi <adheer.chandravanshi@qlogic.com> | 2013-03-25 13:08:31 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-04-12 00:34:33 +0200 |
commit | 2902eb495d71e5cd410c9d94200d35e047404630 (patch) | |
tree | 8b078c9a68ed40c6ab4e07c2eba77ef44beef52c /include/scsi | |
parent | [SCSI] qla4xxx: Add flash node mgmt support (diff) | |
download | linux-2902eb495d71e5cd410c9d94200d35e047404630.tar.xz linux-2902eb495d71e5cd410c9d94200d35e047404630.zip |
[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.h | 4 |
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 { 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, |