lkml.org 
[lkml]   [2005]   [Mar]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    SubjectRe: [PATCH libata-dev-2.6 03/05] libata: update ATA PT sense desc code
    Date
    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@emc.com>

    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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:11    [W:0.020 / U:1.544 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site