Commit:     ef539b57dfe731e2d4fb6f02158e979114ab5b69
Parent:     d6ae3adb2efb078bcbcf727030771408dafd8ed4
Author:     Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
AuthorDate: Tue Oct 16 22:29:55 2007 +0200
Committer:  Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
CommitDate: Tue Oct 16 22:29:55 2007 +0200

    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 
    driver in-line with other host drivers wrt ->ide_dma_check implementation.
    Cc: Mikael Starvik <[EMAIL PROTECTED]>
    Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]>
    Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
 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 d88d763..303f265 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)
        if (ide_tune_dma(drive))
                return 0;
+       ide_set_max_pio(drive);
        return -1;
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to