diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-16 16:29:55 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-16 16:29:55 -0400 |
commit | b8b739d3361c16773a30fe5c0360336bbc19f435 (patch) | |
tree | 6543d913627511728c5ddbc0c95c8616f1914bf9 /drivers/ide/ppc | |
parent | ef539b57dfe731e2d4fb6f02158e979114ab5b69 (diff) |
ide-pmac: add PIO autotune fallback to ->ide_dma_check
Since ide-pmac allows separate PIO and DMA timings, and ide-pmac always sets
->autotune this change shouldn't have any other effect than bringing ide-pmac
driver in-line with other host drivers wrt ->ide_dma_check implementation.
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ppc')
-rw-r--r-- | drivers/ide/ppc/pmac.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index 9e86406bf44b..e0859385732e 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c | |||
@@ -1588,6 +1588,8 @@ pmac_ide_dma_check(ide_drive_t *drive) | |||
1588 | if (ide_tune_dma(drive)) | 1588 | if (ide_tune_dma(drive)) |
1589 | return 0; | 1589 | return 0; |
1590 | 1590 | ||
1591 | ide_set_max_pio(drive); | ||
1592 | |||
1591 | return -1; | 1593 | return -1; |
1592 | } | 1594 | } |
1593 | 1595 | ||