aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-disk.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:16 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-25 16:17:16 -0500
commitc52ea915d7fdc96819964b32eb124b5ccd22b9af (patch)
treecc2556f9343a06741f4e7c1b34e2ccf4923cdf53 /drivers/ide/ide-disk.c
parent57d7366b78b74a9eef873e8212c03d8c2033a764 (diff)
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 <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-disk.c')
-rw-r--r--drivers/ide/ide-disk.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c
index a063957e9add..851374ef55cf 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,
236 command = lba48 ? WIN_READ_EXT : WIN_READ; 236 command = lba48 ? WIN_READ_EXT : WIN_READ;
237 } 237 }
238 238
239 ide_execute_command(drive, command, &task_in_intr, WAIT_CMD, NULL); 239 ide_execute_command(drive, command, &task_in_intr,
240 WAIT_WORSTCASE, NULL);
240 return ide_started; 241 return ide_started;
241 } else { 242 } else {
242 if (drive->mult_count) { 243 if (drive->mult_count) {