aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_alua.h
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2013-11-19 03:07:49 -0500
committerNicholas Bellinger <nab@linux-iscsi.org>2013-11-20 14:26:37 -0500
commitc0dc941e2bdfad4deccf3ba2626f485b5a5f59a4 (patch)
treed909e4e782af830619338183c9c6e76f87c99a0d /drivers/target/target_core_alua.h
parent73f3bf51e0b296acc58f895639be743739347da1 (diff)
target_core_alua: Store supported ALUA states
The supported ALUA states might be different for individual devices, so store it in a separate field. (nab: Remove unnecessary line continuation) Signed-off-by: Hannes Reinecke <hare@suse.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_alua.h')
-rw-r--r--drivers/target/target_core_alua.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/target/target_core_alua.h b/drivers/target/target_core_alua.h
index d6db78b3e9e4..88e2e835f14a 100644
--- a/drivers/target/target_core_alua.h
+++ b/drivers/target/target_core_alua.h
@@ -23,6 +23,17 @@
23#define ALUA_ACCESS_STATE_TRANSITION 0xf 23#define ALUA_ACCESS_STATE_TRANSITION 0xf
24 24
25/* 25/*
26 * from spc4r36j section 6.37 Table 306
27 */
28#define ALUA_T_SUP 0x80
29#define ALUA_O_SUP 0x40
30#define ALUA_LBD_SUP 0x10
31#define ALUA_U_SUP 0x08
32#define ALUA_S_SUP 0x04
33#define ALUA_AN_SUP 0x02
34#define ALUA_AO_SUP 0x01
35
36/*
26 * REPORT_TARGET_PORT_GROUP STATUS CODE 37 * REPORT_TARGET_PORT_GROUP STATUS CODE
27 * 38 *
28 * from spc4r17 section 6.27 Table 246 39 * from spc4r17 section 6.27 Table 246