diff options
author | Nicholas Bellinger <nab@daterainc.com> | 2013-08-19 22:48:10 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2013-09-09 23:29:24 +0200 |
commit | 1c68cc1626341665a8bd1d2c7dfffd7fc852a79c (patch) | |
tree | cb0865f55dda7d176828b5214d4278a7c20fcfb4 | |
parent | target/pscsi: remove an unneeded check (diff) | |
download | linux-1c68cc1626341665a8bd1d2c7dfffd7fc852a79c.tar.xz linux-1c68cc1626341665a8bd1d2c7dfffd7fc852a79c.zip |
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>
-rw-r--r-- | include/scsi/scsi.h | 1 |
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 |