aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/iscsi_if.h
diff options
context:
space:
mode:
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>2010-07-10 05:21:30 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-07-28 10:05:25 -0400
commit3b2bef1fc85f127a99ad6b90a94b033fdc57341c (patch)
tree7de1d09faba5c4ec40459c31a25ba7d0db3b9f3d /include/scsi/iscsi_if.h
parentbb6f7d5b71356be560ea84dd5a721f083d3a9e8e (diff)
[SCSI] iscsi_transport: added new iscsi_param to display target alias in sysfs
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com> Signed-off-by: Ravi Anand <ravi.anand@qlogic.com> Reviewed-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi/iscsi_if.h')
-rw-r--r--include/scsi/iscsi_if.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/iscsi_if.h b/include/scsi/iscsi_if.h
index 66d377b9c72b..a8631acd37c3 100644
--- a/include/scsi/iscsi_if.h
+++ b/include/scsi/iscsi_if.h
@@ -313,6 +313,7 @@ enum iscsi_param {
313 ISCSI_PARAM_INITIATOR_NAME, 313 ISCSI_PARAM_INITIATOR_NAME,
314 314
315 ISCSI_PARAM_TGT_RESET_TMO, 315 ISCSI_PARAM_TGT_RESET_TMO,
316 ISCSI_PARAM_TARGET_ALIAS,
316 /* must always be last */ 317 /* must always be last */
317 ISCSI_PARAM_MAX, 318 ISCSI_PARAM_MAX,
318}; 319};
@@ -353,6 +354,7 @@ enum iscsi_param {
353#define ISCSI_ISID (1ULL << ISCSI_PARAM_ISID) 354#define ISCSI_ISID (1ULL << ISCSI_PARAM_ISID)
354#define ISCSI_INITIATOR_NAME (1ULL << ISCSI_PARAM_INITIATOR_NAME) 355#define ISCSI_INITIATOR_NAME (1ULL << ISCSI_PARAM_INITIATOR_NAME)
355#define ISCSI_TGT_RESET_TMO (1ULL << ISCSI_PARAM_TGT_RESET_TMO) 356#define ISCSI_TGT_RESET_TMO (1ULL << ISCSI_PARAM_TGT_RESET_TMO)
357#define ISCSI_TARGET_ALIAS (1ULL << ISCSI_PARAM_TARGET_ALIAS)
356 358
357/* iSCSI HBA params */ 359/* iSCSI HBA params */
358enum iscsi_host_param { 360enum iscsi_host_param {