ide-cris: add PIO autotune fallback to ->ide_dma_check
PATCH 9/10 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 <[email protected]>
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
--- drivers/ide/cris/ide-cris.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/ide/cris/ide-cris.c +2 -0
@@ -1024,6 +1024,8 @@ static int cris_dma_check(ide_drive_t *dif (ide_tune_dma (drive))return 0 ; +ide_set_max_pio (drive); +return -1 ; }
Quoted 5 lines · Bartlomiej Zolnierkiewicz
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.
Signed-off-by Bartlomiej Zolnierkiewicz <[email protected]>
Acked-by Sergei Shtylyov <[email protected]>
MBR, Sergei