linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] sata_mv: increase PIO IORDY timeout
@ 2009-12-06 16:26 Saeed Bishara
  2009-12-06 16:26 ` [PATCH 2/6] sata_mv: support clkdev framework Saeed Bishara
  2009-12-17  6:03 ` [PATCH 1/6] sata_mv: increase PIO IORDY timeout Jeff Garzik
  0 siblings, 2 replies; 11+ messages in thread
From: Saeed Bishara @ 2009-12-06 16:26 UTC (permalink / raw)
  To: linux-ide, jeff; +Cc: liml, nico, buytenh, 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 6f5093b..312c3e0 100644
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -3393,7 +3393,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] 11+ messages in thread

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

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-12-06 16:26 [PATCH 1/6] sata_mv: increase PIO IORDY timeout Saeed Bishara
2009-12-06 16:26 ` [PATCH 2/6] sata_mv: support clkdev framework Saeed Bishara
2009-12-06 16:26   ` [PATCH 3/6] sata_mv: add power management support for the platform driver Saeed Bishara
2009-12-06 16:26     ` [PATCH 4/6] sata_mv: move the PCI bar description initialization code from mv_init_host to mv_pci_init_one Saeed Bishara
2009-12-06 16:26       ` [PATCH 5/6] sata_mv: store the board_idx into the host private data Saeed Bishara
2009-12-06 16:26         ` [PATCH 6/6] sata_mv: add power management support for the PCI controllers Saeed Bishara
2009-12-07  6:32           ` Grant Grundler
2009-12-17  6:07           ` Jeff Garzik
2009-12-17  6:06         ` [PATCH 5/6] sata_mv: store the board_idx into the host private data Jeff Garzik
2009-12-07  6:14     ` [PATCH 3/6] sata_mv: add power management support for the platform driver Grant Grundler
2009-12-17  6:03 ` [PATCH 1/6] sata_mv: increase PIO IORDY timeout 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).