]>
Commit | Line | Data |
---|---|---|
2cb7cef9 BS |
1 | From: Tejun Heo <teheo@suse.de> |
2 | Date: Wed, 7 Feb 2007 12:37:41 -0800 | |
3 | Subject: [PATCH] libata: add waits for GoVault | |
4 | References: 246451 | |
5 | ||
6 | Iomega GoVault drives need specific waits here and there. Upstream | |
7 | approach hasn't been determined yet. This is temp solution from Gary | |
8 | Hade. Read the following thread for details. | |
9 | ||
10 | http://thread.gmane.org/gmane.linux.ide/14545/focus=14663 | |
11 | ||
12 | With recent changes in the reset sequence (ATA_TMOUT_FF_WAIT and | |
13 | prefer-hardreset), the only thing which needs adjustment is | |
14 | ATA_TMOUT_FF_WAIT (the prereset wait part is unnecessary as the wait | |
15 | is necessary only for softreset when SCR registers are accessible and | |
16 | in those cases libata now always uses hardreset which doesn't require | |
17 | such wait). | |
18 | ||
19 | Signed-off-by: Tejun Heo <teheo@suse.de> | |
20 | --- | |
21 | include/linux/libata.h | 2 +- | |
22 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
23 | ||
24 | Index: 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 |