[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1337153889.2985.5.camel@dabdike.int.hansenpartnership.com>
Date: Wed, 16 May 2012 08:38:09 +0100
From: James Bottomley <James.Bottomley@...senPartnership.com>
To: mc@...ux.vnet.ibm.com
Cc: target-devel@...r.kernel.org,
"Nicholas A. Bellinger" <nab@...ux-iscsi.org>,
linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org,
Stefan Hajnoczi <stefanha@...ux.vnet.ibm.com>
Subject: Re: [PATCH] target: Handle ATA_PASS_THROUGH_16 passthrough
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@...ux.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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists