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 | ef539b57dfe731e2d4fb6f02158e979114ab5b69 (patch) | |
tree | 2df728235cc81a3efdc392fdc2077dd1f888248c /drivers/ide/cris | |
parent | d6ae3adb2efb078bcbcf727030771408dafd8ed4 (diff) |
ide-cris: add PIO autotune fallback to ->ide_dma_check
Since ide-cris allows separate PIO and DMA timings, and ide-cris always sets
->autotune this change shouldn't have any other effect than bringing ide-cris
driver in-line with other host drivers wrt ->ide_dma_check implementation.
Cc: Mikael Starvik <starvik@axis.com>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/cris')
-rw-r--r-- | drivers/ide/cris/ide-cris.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/ide/cris/ide-cris.c b/drivers/ide/cris/ide-cris.c index d88d763d6446..303f26559db8 100644 --- a/drivers/ide/cris/ide-cris.c +++ b/drivers/ide/cris/ide-cris.c | |||
@@ -1025,6 +1025,8 @@ static int cris_dma_check(ide_drive_t *drive) | |||
1025 | if (ide_tune_dma(drive)) | 1025 | if (ide_tune_dma(drive)) |
1026 | return 0; | 1026 | return 0; |
1027 | 1027 | ||
1028 | ide_set_max_pio(drive); | ||
1029 | |||
1028 | return -1; | 1030 | return -1; |
1029 | } | 1031 | } |
1030 | 1032 | ||