From: Minwoo Im <dn3108@gmail.com>
To: "James E.J. Bottomley" <jejb@linux.vnet.ibm.com>,
"Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org, Minwoo Im <dn3108@gmail.com>
Subject: [PATCH] scsi_proto.h: ATA_32 added for ata pass-thru(32).
Date: Thu, 15 Jun 2017 20:29:24 +0900 [thread overview]
Message-ID: <1497526164-7432-1-git-send-email-dn3108@gmail.com> (raw)
SAT-4(SCSI/ATA Translation Standard) supports a ATA PASS-THROUGH(32)
SCSI command. It uses 7Fh as a operation code which means
variable-length CDB.
It would be great if kernel supports an ata pass-thru(32) command.
Prior to development of ata pass-through in libata level,
the definition of it should be added first.
Signed-off-by: Minwoo Im <dn3108@gmail.com>
---
include/scsi/scsi_proto.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/scsi/scsi_proto.h b/include/scsi/scsi_proto.h
index ce78ec8..1eb4efd 100644
--- a/include/scsi/scsi_proto.h
+++ b/include/scsi/scsi_proto.h
@@ -164,6 +164,7 @@
#define WRITE_SAME_32 0x0d
/* Values for T10/04-262r7 */
+#define ATA_32 0x7F /* 32-byte pass-thru */
#define ATA_16 0x85 /* 16-byte pass-thru */
#define ATA_12 0xa1 /* 12-byte pass-thru */
--
1.7.9.5
next reply other threads:[~2017-06-15 11:29 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-15 11:29 Minwoo Im [this message]
2017-06-16 15:27 ` [PATCH] scsi_proto.h: ATA_32 added for ata pass-thru(32) Bart Van Assche
2017-06-17 6:48 ` Minwoo Im
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1497526164-7432-1-git-send-email-dn3108@gmail.com \
--to=dn3108@gmail.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).