aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-io.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:10 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:10 -0500
commit1f2564b8b56b305ab9acf5d387abca950180dff6 (patch)
treeb0c939c2e1856fefe421bf0539168f72441e325d /drivers/ide/ide-io.c
parenta3bbb9d882dc94fe3a1361596ab9ce55d84059ea (diff)
ide: extend timeout for REQ_TYPE_ATA_{CMD,TASK} requests
Extend timeout for REQ_TYPE_ATA_{CMD,TASK} requests from WAIT_CMD (10sec) to WAIT_WORSTCASE (30sec, already used for REQ_TYPE_ATA_TASKFILE). Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-io.c')
-rw-r--r--drivers/ide/ide-io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c
index 1526d79f87e4..73e021267f3b 100644
--- a/drivers/ide/ide-io.c
+++ b/drivers/ide/ide-io.c
@@ -902,7 +902,7 @@ static ide_startstop_t execute_drive_cmd (ide_drive_t *drive,
902 } 902 }
903 tf->command = args[0]; 903 tf->command = args[0];
904 ide_tf_load(drive, &ltask); 904 ide_tf_load(drive, &ltask);
905 ide_execute_command(drive, args[0], &drive_cmd_intr, WAIT_CMD, NULL); 905 ide_execute_command(drive, args[0], &drive_cmd_intr, WAIT_WORSTCASE, NULL);
906 return ide_started; 906 return ide_started;
907 907
908done: 908done: