[PATCH] more icside breakage (from next ide merge) - Kernel

This is a discussion on [PATCH] more icside breakage (from next ide merge) - Kernel ; Signed-off-by: Al Viro --- drivers/ide/arm/icside.c | 14 ++++++++------ 1 files changed, 8 insertions(+), 6 deletions(-) diff --git a/drivers/ide/arm/icside.c b/drivers/ide/arm/icside.c index 124445c..65038ca 100644 --- a/drivers/ide/arm/icside.c +++ b/drivers/ide/arm/icside.c @@ -419,17 +419,19 @@ icside_setup(void __iomem *base, struct cardinfo *info, struct expansion_card *e hwif ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: [PATCH] more icside breakage (from next ide merge)

  1. [PATCH] more icside breakage (from next ide merge)


    Signed-off-by: Al Viro
    ---
    drivers/ide/arm/icside.c | 14 ++++++++------
    1 files changed, 8 insertions(+), 6 deletions(-)

    diff --git a/drivers/ide/arm/icside.c b/drivers/ide/arm/icside.c
    index 124445c..65038ca 100644
    --- a/drivers/ide/arm/icside.c
    +++ b/drivers/ide/arm/icside.c
    @@ -419,17 +419,19 @@ icside_setup(void __iomem *base, struct cardinfo *info, struct expansion_card *e

    hwif = ide_find_port();
    if (hwif) {
    - int i;
    -
    /*
    * Ensure we're using MMIO
    */
    default_hwif_mmiops(hwif);

    - for (i = 0; i <= 7; i++) {
    - hwif->io_ports_array[i] = port;
    - port += 1 << info->stepping;
    - }
    + hwif->io_ports.data_addr = port;
    + hwif->io_ports.error_addr = port + (1 << info->stepping);
    + hwif->io_ports.nsect_addr = port + (2 << info->stepping);
    + hwif->io_ports.lbal_addr = port + (3 << info->stepping);
    + hwif->io_ports.lbam_addr = port + (4 << info->stepping);
    + hwif->io_ports.lbah_addr = port + (5 << info->stepping);
    + hwif->io_ports.device_addr = port + (6 << info->stepping);
    + hwif->io_ports.status_addr = port + (7 << info->stepping);
    hwif->io_ports.ctl_addr =
    (unsigned long)base + info->ctrloffset;
    hwif->irq = ec->irq;
    --
    1.5.3.GIT


    --
    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/

  2. Re: [PATCH] more icside breakage (from next ide merge)

    On Monday 28 April 2008, Al Viro wrote:
    >
    > Signed-off-by: Al Viro


    Thanks for fixing this and q40ide.
    --
    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/

+ Reply to Thread