Re: [PATCH libata-dev-2.6 03/05] libata: update ATA PT sense desc code

From: Brett Russ
Date: Thu Mar 17 2005 - 17:28:28 EST


03_libata_update_desc_code.patch

Change the ATA pass through sense block descriptor code to
0x09 per SAT

Signed-off-by: Brett Russ <russb@xxxxxxx>

libata-scsi.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

Index: libata-dev-2.6/drivers/scsi/libata-scsi.c
===================================================================
--- libata-dev-2.6.orig/drivers/scsi/libata-scsi.c 2005-03-08 08:47:48.000000000 -0500
+++ libata-dev-2.6/drivers/scsi/libata-scsi.c 2005-03-17 17:16:58.000000000 -0500
@@ -531,7 +531,7 @@ void ata_pass_thru_cc(struct ata_queued_
*/
sb[0] = 0x72 ;

- desc[0] = 0x8e ; /* TODO: replace with official value. */
+ desc[0] = 0x09;

/*
* Set length of additional sense data.
@@ -2059,7 +2059,7 @@ void ata_scsi_simulate(u16 *id,
ata_scsi_rbuf_fill(&args, ata_scsiop_report_luns);
break;

- /* mandantory commands we haven't implemented yet */
+ /* mandatory commands we haven't implemented yet */
case REQUEST_SENSE:

/* all other commands */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/