summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2010-03-23 05:13:28 (GMT)
committerJames Bottomley <James.Bottomley@suse.de>2010-04-30 17:46:17 (GMT)
commit59c31b69d278b760fb84266f99c1dcb0f73ec51d (patch)
tree881a17202734acba7e3cba4a612eeac1f39ab2a2
parente308b3d19d1cf6af39024121269bb384b95d3da3 (diff)
downloadlinux-59c31b69d278b760fb84266f99c1dcb0f73ec51d.tar.xz
[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>
-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 832f41f..9ae5c61 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