From: James Bottomley <James.Bottomley@HansenPartnership.com>
To: mc@linux.vnet.ibm.com
Cc: target-devel@vger.kernel.org,
"Nicholas A. Bellinger" <nab@linux-iscsi.org>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Subject: Re: [PATCH] target: Handle ATA_PASS_THROUGH_16 passthrough
Date: Wed, 16 May 2012 08:38:09 +0100 [thread overview]
Message-ID: <1337153889.2985.5.camel@dabdike.int.hansenpartnership.com> (raw)
In-Reply-To: <1337146409.18429.11.camel@mengcong>
On Wed, 2012-05-16 at 13:33 +0800, mengcong wrote:
> The cdrecord uses ATA_PASS_THROUGH_16 command while burning CDs
> with a SATA CD-ROM. This patch adds support to it so that PSCSI
> CD-ROM passthrough works with the cdrecord.
>
> Signed-off-by: Cong Meng <mc@linux.vnet.ibm.com>
> ---
[...]
> diff --git a/include/scsi/scsi.h b/include/scsi/scsi.h
> index f34a5a8..f6dcd25 100644
> --- a/include/scsi/scsi.h
> +++ b/include/scsi/scsi.h
> @@ -116,6 +116,7 @@ struct scsi_cmnd;
> #define PERSISTENT_RESERVE_IN 0x5e
> #define PERSISTENT_RESERVE_OUT 0x5f
> #define VARIABLE_LENGTH_CMD 0x7f
> +#define ATA_PASS_THROUGH_16 0x85
> #define REPORT_LUNS 0xa0
> #define SECURITY_PROTOCOL_IN 0xa2
> #define MAINTENANCE_IN 0xa3
We already have this: they're called ATA_16 (and ATA_12) in this very
file.
James
next prev parent reply other threads:[~2012-05-16 7:38 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-16 5:33 mengcong
2012-05-16 7:38 ` James Bottomley [this message]
2012-05-17 3:14 ` [PATCH] V2: " mengcong
2012-05-17 6:13 ` Nicholas A. Bellinger
2012-05-17 6:32 ` mengcong
2012-05-16 23:41 ` [PATCH] " Nicholas A. Bellinger
2012-05-17 6:22 ` mengcong
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=1337153889.2985.5.camel@dabdike.int.hansenpartnership.com \
--to=james.bottomley@hansenpartnership.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=mc@linux.vnet.ibm.com \
--cc=nab@linux-iscsi.org \
--cc=stefanha@linux.vnet.ibm.com \
--cc=target-devel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®