summaryrefslogtreecommitdiff
path: root/include/scsi
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@daterainc.com>2013-08-20 00:48:10 +0400
committerNicholas Bellinger <nab@linux-iscsi.org>2013-09-10 01:29:24 +0400
commit1c68cc1626341665a8bd1d2c7dfffd7fc852a79c (patch)
treecb0865f55dda7d176828b5214d4278a7c20fcfb4 /include/scsi
parentfdb4c1f399f7632c326b6f5f4283dbd7a3934dbb (diff)
downloadlinux-1c68cc1626341665a8bd1d2c7dfffd7fc852a79c.tar.xz
scsi: Add CDB definition for COMPARE_AND_WRITE
Reviewed-by: Christoph Hellwig <hch@lst.de> Cc: Hannes Reinecke <hare@suse.de> Cc: Martin Petersen <martin.petersen@oracle.com> Cc: Chris Mason <chris.mason@fusionio.com> Cc: James Bottomley <JBottomley@Parallels.com> Cc: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Nicholas Bellinger <nab@daterainc.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 4b87d99e7fa1..62680624a686 100644
--- a/include/scsi/scsi.h
+++ b/include/scsi/scsi.h
@@ -144,6 +144,7 @@ enum scsi_timeouts {
#define ACCESS_CONTROL_IN 0x86
#define ACCESS_CONTROL_OUT 0x87
#define READ_16 0x88
+#define COMPARE_AND_WRITE 0x89
#define WRITE_16 0x8a
#define READ_ATTRIBUTE 0x8c
#define WRITE_ATTRIBUTE 0x8d