linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sata_mv: increate the IORDY timeout for the soc controllers
@ 2009-04-11 16:08 Martin Michlmayr
  2009-04-12 14:37 ` Mark Lord
  0 siblings, 1 reply; 6+ messages in thread
From: Martin Michlmayr @ 2009-04-11 16:08 UTC (permalink / raw)
  To: Mark Lord; +Cc: Saeed Bishara, linux-ide

From: Saeed Bishara <saeed@marvell.com>

The old value (in clock cycles) is not suitable for soc devices that
have internal clock more that 150MHz.

Signed-off-by: Saeed Bishara <saeed@marvell.com>
Signed-off-by: Martin Michlmayr <tbm@cyrius.com>

diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index 5315b5f..f19f2e3 100644
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -3330,7 +3330,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

-- 
Martin Michlmayr
http://www.cyrius.com/

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

end of thread, other threads:[~2009-04-13 13:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-11 16:08 [PATCH] sata_mv: increate the IORDY timeout for the soc controllers Martin Michlmayr
2009-04-12 14:37 ` Mark Lord
2009-04-13  7:13   ` saeed bishara
2009-04-13 12:49     ` Mark Lord
2009-04-13 13:11       ` saeed bishara
2009-04-13 13:50         ` Mark Lord

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