Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c52ea915d7fdc96819964b32eb124b5ccd22b9af
Commit:     c52ea915d7fdc96819964b32eb124b5ccd22b9af
Parent:     57d7366b78b74a9eef873e8212c03d8c2033a764
Author:     Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
AuthorDate: Fri Jan 25 22:17:16 2008 +0100
Committer:  Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
CommitDate: Fri Jan 25 22:17:16 2008 +0100

    ide-disk: extend timeout for PIO-in commands
    
    s/WAIT_CMD/WAIT_WORSTCASE/ to make the timeout the same as in 
do_rw_taskfile()
    
    Acked-by: Sergei Shtylyov <[EMAIL PROTECTED]>
    Signed-off-by: Bartlomiej Zolnierkiewicz <[EMAIL PROTECTED]>
---
 drivers/ide/ide-disk.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c
index a063957..851374e 100644
--- a/drivers/ide/ide-disk.c
+++ b/drivers/ide/ide-disk.c
@@ -236,7 +236,8 @@ static ide_startstop_t __ide_do_rw_disk(ide_drive_t *drive, 
struct request *rq,
                        command = lba48 ? WIN_READ_EXT : WIN_READ;
                }
 
-               ide_execute_command(drive, command, &task_in_intr, WAIT_CMD, 
NULL);
+               ide_execute_command(drive, command, &task_in_intr,
+                                   WAIT_WORSTCASE, NULL);
                return ide_started;
        } else {
                if (drive->mult_count) {
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to