linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 9/10] ide-cris: add PIO autotune fallback to ->ide_dma_check
@ 2007-08-04 20:11 Bartlomiej Zolnierkiewicz
  2007-08-06 16:45 ` Sergei Shtylyov
  0 siblings, 1 reply; 2+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2007-08-04 20:11 UTC (permalink / raw)
  To: linux-ide; +Cc: Mikael Starvik


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 ide-cris
driver in-line with other host drivers wrt ->ide_dma_check implementation.

Cc: Mikael Starvik <starvik@axis.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
---
 drivers/ide/cris/ide-cris.c |    2 ++
 1 file changed, 2 insertions(+)

Index: b/drivers/ide/cris/ide-cris.c
===================================================================
--- a/drivers/ide/cris/ide-cris.c
+++ b/drivers/ide/cris/ide-cris.c
@@ -1024,6 +1024,8 @@ static int cris_dma_check(ide_drive_t *d
 	if (ide_tune_dma(drive))
 		return 0;
 
+	ide_set_max_pio(drive);
+
 	return -1;
 }
 

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

* Re: [PATCH 9/10] ide-cris: add PIO autotune fallback to ->ide_dma_check
  2007-08-04 20:11 [PATCH 9/10] ide-cris: add PIO autotune fallback to ->ide_dma_check Bartlomiej Zolnierkiewicz
@ 2007-08-06 16:45 ` Sergei Shtylyov
  0 siblings, 0 replies; 2+ messages in thread
From: Sergei Shtylyov @ 2007-08-06 16:45 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz; +Cc: linux-ide, Mikael Starvik

Bartlomiej Zolnierkiewicz wrote:

> 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 ide-cris
> driver in-line with other host drivers wrt ->ide_dma_check implementation.

> 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-08-06 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-04 20:11 [PATCH 9/10] ide-cris: add PIO autotune fallback to ->ide_dma_check Bartlomiej Zolnierkiewicz
2007-08-06 16:45 ` 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).