aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/pmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ide/pmac.c')
-rw-r--r--drivers/ide/pmac.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/ide/pmac.c b/drivers/ide/pmac.c
index 1df7b7636453..879c3d8d9f36 100644
--- a/drivers/ide/pmac.c
+++ b/drivers/ide/pmac.c
@@ -1517,8 +1517,6 @@ static int pmac_ide_dma_setup(ide_drive_t *drive, struct ide_cmd *cmd)
1517 (void)readl(PMAC_IDE_REG(IDE_TIMING_CONFIG)); 1517 (void)readl(PMAC_IDE_REG(IDE_TIMING_CONFIG));
1518 } 1518 }
1519 1519
1520 drive->waiting_for_dma = 1;
1521
1522 return 0; 1520 return 0;
1523} 1521}
1524 1522
@@ -1553,7 +1551,6 @@ pmac_ide_dma_end (ide_drive_t *drive)
1553 volatile struct dbdma_regs __iomem *dma = pmif->dma_regs; 1551 volatile struct dbdma_regs __iomem *dma = pmif->dma_regs;
1554 u32 dstat; 1552 u32 dstat;
1555 1553
1556 drive->waiting_for_dma = 0;
1557 dstat = readl(&dma->status); 1554 dstat = readl(&dma->status);
1558 writel(((RUN|WAKE|DEAD) << 16), &dma->control); 1555 writel(((RUN|WAKE|DEAD) << 16), &dma->control);
1559 1556