From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Michlmayr Subject: [PATCH] sata_mv: increate the IORDY timeout for the soc controllers Date: Sat, 11 Apr 2009 09:08:15 -0700 Message-ID: <20090411160815.GA10995@deprecation.cyrius.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from sorrow.cyrius.com ([65.19.161.204]:49464 "EHLO sorrow.cyrius.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754723AbZDKQKW (ORCPT ); Sat, 11 Apr 2009 12:10:22 -0400 Content-Disposition: inline Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: Mark Lord Cc: Saeed Bishara , linux-ide@vger.kernel.org From: Saeed Bishara The old value (in clock cycles) is not suitable for soc devices that have internal clock more that 150MHz. Signed-off-by: Saeed Bishara Signed-off-by: Martin Michlmayr 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/