summaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi.h
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2010-03-23 01:13:28 -0400
committerJames Bottomley <James.Bottomley@suse.de>2010-04-30 12:46:17 -0500
commit59c31b69d278b760fb84266f99c1dcb0f73ec51d (patch)
tree881a17202734acba7e3cba4a612eeac1f39ab2a2 /include/scsi/scsi.h
parente308b3d19d1cf6af39024121269bb384b95d3da3 (diff)
downloadlinux-stable-59c31b69d278b760fb84266f99c1dcb0f73ec51d.tar.gz
linux-stable-59c31b69d278b760fb84266f99c1dcb0f73ec51d.tar.bz2
linux-stable-59c31b69d278b760fb84266f99c1dcb0f73ec51d.zip
[SCSI] Add missing scsi command definitions
Add definitions for VERIFY(12) and VERIFY(32). Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'include/scsi/scsi.h')
-rw-r--r--include/scsi/scsi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
index 832f41f37385..9ae5c613131b 100644
--- a/include/scsi/scsi.h
+++ b/include/scsi/scsi.h
@@ -114,6 +114,7 @@ struct scsi_cmnd;
#define READ_12 0xa8
#define WRITE_12 0xaa
#define WRITE_VERIFY_12 0xae
+#define VERIFY_12 0xaf
#define SEARCH_HIGH_12 0xb0
#define SEARCH_EQUAL_12 0xb1
#define SEARCH_LOW_12 0xb2
@@ -134,6 +135,7 @@ struct scsi_cmnd;
#define MO_SET_TARGET_PGS 0x0a
/* values for variable length command */
#define READ_32 0x09
+#define VERIFY_32 0x0a
#define WRITE_32 0x0b
#define WRITE_SAME_32 0x0d