lkml.org 
[lkml]   [2009]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 60/86] pata_pdc202xx_old: add 32-bit PIO support
    From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    Subject: [PATCH] pata_pdc202xx_old: add 32-bit PIO support

    There shouldn't be any problems with it as IDE pdc202xx_old host driver
    has been allowing 32-bit PIO operations for years.

    Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    ---
    drivers/ata/pata_pdc202xx_old.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    Index: b/drivers/ata/pata_pdc202xx_old.c
    ===================================================================
    --- a/drivers/ata/pata_pdc202xx_old.c
    +++ b/drivers/ata/pata_pdc202xx_old.c
    @@ -240,7 +240,7 @@ static int pdc2026x_port_start(struct at
    u8 burst = ioread8(bmdma + 0x1f);
    iowrite8(burst | 0x01, bmdma + 0x1f);
    }
    - return ata_sff_port_start(ap);
    + return ata_sff_port_start32(ap);
    }

    /**
    @@ -266,7 +266,7 @@ static struct scsi_host_template pdc202x
    };

    static struct ata_port_operations pdc2024x_port_ops = {
    - .inherits = &ata_bmdma_port_ops,
    + .inherits = &ata_bmdma32_port_ops,

    .cable_detect = ata_cable_40wire,
    .set_piomode = pdc202xx_set_piomode,

    \
     
     \ /
      Last update: 2009-11-25 18:27    [W:4.088 / U:0.620 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site