linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 7/9] ide-disk: extend timeout for PIO-in commands
@ 2007-11-02 22:05 Bartlomiej Zolnierkiewicz
  2007-11-09 14:03 ` Sergei Shtylyov
  0 siblings, 1 reply; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-11-02 22:05 UTC (permalink / raw)
  To: linux-ide


s/WAIT_CMD/WAIT_WORSTCASE/ to make the timeout the same as in do_rw_taskfile()

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
 drivers/ide/ide-disk.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Index: b/drivers/ide/ide-disk.c
===================================================================
--- a/drivers/ide/ide-disk.c
+++ b/drivers/ide/ide-disk.c
@@ -262,7 +262,8 @@ static ide_startstop_t __ide_do_rw_disk(
 			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) {

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH 7/9] ide-disk: extend timeout for PIO-in commands
  2007-11-02 22:05 [PATCH 7/9] ide-disk: extend timeout for PIO-in commands Bartlomiej Zolnierkiewicz
@ 2007-11-09 14:03 ` Sergei Shtylyov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2007-11-09 14:03 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: linux-ide

Bartlomiej Zolnierkiewicz wrote:

> s/WAIT_CMD/WAIT_WORSTCASE/ to make the timeout the same as in do_rw_taskfile()

> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>

MBR, Sergei

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-09 14:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-02 22:05 [PATCH 7/9] ide-disk: extend timeout for PIO-in commands Bartlomiej Zolnierkiewicz
2007-11-09 14:03 ` Sergei Shtylyov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).