]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/suse-2.6.27.39/patches.drivers/libata-add-waits-for-govault
Fix oinkmaster patch.
[ipfire-2.x.git] / src / patches / suse-2.6.27.39 / patches.drivers / libata-add-waits-for-govault
CommitLineData
2cb7cef9
BS
1From: Tejun Heo <teheo@suse.de>
2Date: Wed, 7 Feb 2007 12:37:41 -0800
3Subject: [PATCH] libata: add waits for GoVault
4References: 246451
5
6Iomega GoVault drives need specific waits here and there. Upstream
7approach hasn't been determined yet. This is temp solution from Gary
8Hade. Read the following thread for details.
9
10http://thread.gmane.org/gmane.linux.ide/14545/focus=14663
11
12With recent changes in the reset sequence (ATA_TMOUT_FF_WAIT and
13prefer-hardreset), the only thing which needs adjustment is
14ATA_TMOUT_FF_WAIT (the prereset wait part is unnecessary as the wait
15is necessary only for softreset when SCR registers are accessible and
16in those cases libata now always uses hardreset which doesn't require
17such wait).
18
19Signed-off-by: Tejun Heo <teheo@suse.de>
20---
21 include/linux/libata.h | 2 +-
22 1 file changed, 1 insertion(+), 1 deletion(-)
23
24Index: linux-2.6.27/include/linux/libata.h
25===================================================================
26--- linux-2.6.27.orig/include/linux/libata.h
27+++ linux-2.6.27/include/linux/libata.h
28@@ -250,7 +250,7 @@ enum {
29 * HHD424020F7SV00. Increase to 2secs when parallel probing
30 * is in place.
31 */
32- ATA_TMOUT_FF_WAIT = 800,
33+ ATA_TMOUT_FF_WAIT = 2000,
34
35 /* Spec mandates to wait for ">= 2ms" before checking status
36 * after reset. We wait 150ms, because that was the magic