diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-13 11:47:49 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-13 11:47:49 -0400 |
commit | 78103940e4f8084de2bf8ca81c4bd09b48e9ac16 (patch) | |
tree | 4743334185826b4430cdda33b444216fb40bd526 /drivers | |
parent | 90f72eca36e92d5756cf312535d94d7f21f34d2e (diff) |
ide-pmac: remove control register messing from pmac_ide_dma_check()
pmac_ide_do_setfeature() contains matching nIEN setting/clearing so this
Device Control register messing in pmac_ide_dma_check() is totally unnecessary.
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ide/ppc/pmac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index b24e905ddcdd..d6a1a9be58a7 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c | |||
@@ -1784,7 +1784,7 @@ pmac_ide_dma_check(ide_drive_t *drive) | |||
1784 | drive->using_dma = pmac_ide_udma_enable(drive, mode); | 1784 | drive->using_dma = pmac_ide_udma_enable(drive, mode); |
1785 | else if (mode >= XFER_MW_DMA_0) | 1785 | else if (mode >= XFER_MW_DMA_0) |
1786 | drive->using_dma = pmac_ide_mdma_enable(drive, mode); | 1786 | drive->using_dma = pmac_ide_mdma_enable(drive, mode); |
1787 | hwif->OUTB(0, IDE_CONTROL_REG); | 1787 | |
1788 | /* Apply settings to controller */ | 1788 | /* Apply settings to controller */ |
1789 | pmac_ide_do_update_timings(drive); | 1789 | pmac_ide_do_update_timings(drive); |
1790 | } | 1790 | } |