Commit cd172b710822fe170db04fa1e78c08adea56425a
1 parent
c3d2b4b48a
Exists in
master
and in
54 other branches
Fix IDE stability problems on CPC45 board.
Showing 3 changed files with 12 additions and 0 deletions Side-by-side Diff
CHANGELOG
common/cmd_ide.c
... | ... | @@ -958,11 +958,15 @@ |
958 | 958 | dbuf = (uchar *)sect_buf; |
959 | 959 | while (words--) { |
960 | 960 | EIEIO; |
961 | + EIEIO; | |
961 | 962 | *dbuf++ = *pbuf_even; |
962 | 963 | EIEIO; |
964 | + EIEIO; | |
963 | 965 | *dbuf++ = *pbuf_odd; |
964 | 966 | EIEIO; |
967 | + EIEIO; | |
965 | 968 | *dbuf++ = *pbuf_even; |
969 | + EIEIO; | |
966 | 970 | EIEIO; |
967 | 971 | *dbuf++ = *pbuf_odd; |
968 | 972 | } |
include/pcmcia/cirrus.h
... | ... | @@ -166,9 +166,15 @@ |
166 | 166 | static int has_ring = -1; |
167 | 167 | static int dynamic_mode = 0; |
168 | 168 | static int freq_bypass = -1; |
169 | +#ifdef CONFIG_CPC45 | |
170 | +static int setup_time = 2; | |
171 | +static int cmd_time = 6; | |
172 | +static int recov_time = 1; | |
173 | +#else | |
169 | 174 | static int setup_time = -1; |
170 | 175 | static int cmd_time = -1; |
171 | 176 | static int recov_time = -1; |
177 | +#endif | |
172 | 178 | |
173 | 179 | |
174 | 180 | #endif /* _LINUX_CIRRUS_H */ |