]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ide-pmac: remove nIEN clearing from pmac_ide_do_setfeature()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 13 Oct 2007 15:47:49 +0000 (17:47 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 13 Oct 2007 15:47:49 +0000 (17:47 +0200)
Upper layers are responsible for controlling nIEN so don't clear nIEN after
command execution in pmac_ide_do_setfeature().

Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ppc/pmac.c

index 13e26642dad7046ea31dc320a1ba13c3f01632d1..c68e2472345a984faa373d6e2f38ae82e2a9c474 100644 (file)
@@ -556,7 +556,6 @@ pmac_ide_do_setfeature(ide_drive_t *drive, u8 command)
        result = __ide_wait_stat(drive, drive->ready_stat,
                                 BUSY_STAT|DRQ_STAT|ERR_STAT,
                                 WAIT_CMD, &stat);
-       hwif->OUTB(drive->ctl, IDE_CONTROL_REG);
        if (result)
                printk(KERN_ERR "%s: pmac_ide_do_setfeature disk not ready "
                        "after SET_FEATURE !\n", drive->name);