target_core_alua: Store supported ALUA states
[linux-drm-fsl-dcu.git] / drivers / target / target_core_alua.h
index d6db78b3e9e42f95ba04995f1ec2f6109e7c3965..88e2e835f14aeec7247005514fcd6cc9ffc4d3fa 100644 (file)
 #define ALUA_ACCESS_STATE_OFFLINE              0xe
 #define ALUA_ACCESS_STATE_TRANSITION           0xf
 
+/*
+ * from spc4r36j section 6.37 Table 306
+ */
+#define ALUA_T_SUP             0x80
+#define ALUA_O_SUP             0x40
+#define ALUA_LBD_SUP           0x10
+#define ALUA_U_SUP             0x08
+#define ALUA_S_SUP             0x04
+#define ALUA_AN_SUP            0x02
+#define ALUA_AO_SUP            0x01
+
 /*
  * REPORT_TARGET_PORT_GROUP STATUS CODE
  *