summaryrefslogtreecommitdiff
path: root/include/scsi/scsi_proto.h
diff options
context:
space:
mode:
authorMinwoo Im <dn3108@gmail.com>2017-06-24 03:41:10 +0900
committerTejun Heo <tj@kernel.org>2017-06-27 11:25:39 -0400
commitb1ffbf854e0887e2b828b9a3343264453662dec6 (patch)
tree71420dd08a9f22de9fd87fb5a477020657e97ccd /include/scsi/scsi_proto.h
parent0ce968f3825153d570f6d765f2c0c79bcb1f0949 (diff)
libata: Support for an ATA PASS-THROUGH(32) command.
SAT-4(SCSI/ATA Translation) supports for an ata pass-thru(32). This patch will allow to translate an ata pass-thru(32) SCSI cmd to an ATA cmd. Signed-off-by: Minwoo Im <dn3108@gmail.com> Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'include/scsi/scsi_proto.h')
-rw-r--r--include/scsi/scsi_proto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/scsi/scsi_proto.h b/include/scsi/scsi_proto.h
index ce78ec8e367d..06076b88d375 100644
--- a/include/scsi/scsi_proto.h
+++ b/include/scsi/scsi_proto.h
@@ -162,6 +162,7 @@
#define VERIFY_32 0x0a
#define WRITE_32 0x0b
#define WRITE_SAME_32 0x0d
+#define ATA_32 0x1ff0
/* Values for T10/04-262r7 */
#define ATA_16 0x85 /* 16-byte pass-thru */