summaryrefslogtreecommitdiffstats
path: root/include/target
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2014-11-24 07:07:25 -0800
committerChristoph Hellwig <hch@lst.de>2014-12-04 09:58:33 +0100
commit68d81f40047cc4f99e86807e1160fb07a7b856c7 (patch)
treea1d260df122f4dd9c2830832e4b09b6075ee1323 /include/target
parent4e484896ac8b1877097770bc630802d5535e8d46 (diff)
downloadlinux-68d81f40047cc4f99e86807e1160fb07a7b856c7.tar.bz2
scsi: remove MSG_*_TAG defines
For SPI drivers use the message definitions from scsi.h, and for target drivers introduce a new TCM_*_TAG namespace. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com
Diffstat (limited to 'include/target')
-rw-r--r--include/target/target_core_base.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/target/target_core_base.h b/include/target/target_core_base.h
index 23c518a0340c..397fb635766a 100644
--- a/include/target/target_core_base.h
+++ b/include/target/target_core_base.h
@@ -476,6 +476,12 @@ struct se_dif_v1_tuple {
__be32 ref_tag;
};
+/* for sam_task_attr */
+#define TCM_SIMPLE_TAG 0x20
+#define TCM_HEAD_TAG 0x21
+#define TCM_ORDERED_TAG 0x22
+#define TCM_ACA_TAG 0x24
+
struct se_cmd {
/* SAM response code being sent to initiator */
u8 scsi_status;