linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] sata_mv: increase PIO IORDY timeout
@ 2009-06-23 15:43 Saeed Bishara
  2009-06-23 15:43 ` [PATCH 2/3] sata_mv: support clkdev framework Saeed Bishara
  2009-06-24  8:33 ` [PATCH 1/3] sata_mv: increase PIO IORDY timeout Jeff Garzik
  0 siblings, 2 replies; 7+ messages in thread
From: Saeed Bishara @ 2009-06-23 15:43 UTC (permalink / raw)
  To: linux-ide, liml; +Cc: saeed.bishara, Saeed Bishara

The old value (0xbc) in cycles of the IORDY timeout is suitable for
devices with core clock of 166 MHz, but some SoC controllers have
faster core clocks. The new value will make the IORDY timeout large
enough also for all SoC devices.

Signed-off-by: Saeed Bishara <saeed@marvell.com>
---
 drivers/ata/sata_mv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index 23714ae..644436e 100644
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -3368,7 +3368,7 @@ static void mv_soc_reset_hc_port(struct mv_host_priv *hpriv,
 	ZERO(0x024);		/* respq outp */
 	ZERO(0x020);		/* respq inp */
 	ZERO(0x02c);		/* test control */
-	writel(0xbc, port_mmio + EDMA_IORDY_TMOUT);
+	writel(0x800, port_mmio + EDMA_IORDY_TMOUT);
 }
 
 #undef ZERO
-- 
1.6.0.4


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

end of thread, other threads:[~2009-12-03 17:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-23 15:43 [PATCH 1/3] sata_mv: increase PIO IORDY timeout Saeed Bishara
2009-06-23 15:43 ` [PATCH 2/3] sata_mv: support clkdev framework Saeed Bishara
2009-06-23 15:43   ` [PATCH 3/3] sata_mv: add power management support for the platform driver Saeed Bishara
2009-06-24  8:33 ` [PATCH 1/3] sata_mv: increase PIO IORDY timeout Jeff Garzik
2009-06-24 10:23   ` Saeed Bishara
2009-12-01 15:37     ` saeed bishara
2009-12-03 17:55       ` Jeff Garzik

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).