diff options
Diffstat (limited to 'arch/mips/kernel/cpu-probe.c')
-rw-r--r-- | arch/mips/kernel/cpu-probe.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c index ab755ea26c6a..0fc90ba16ae1 100644 --- a/arch/mips/kernel/cpu-probe.c +++ b/arch/mips/kernel/cpu-probe.c | |||
@@ -137,7 +137,6 @@ static inline void check_wait(void) | |||
137 | case CPU_4KEC: | 137 | case CPU_4KEC: |
138 | case CPU_4KSC: | 138 | case CPU_4KSC: |
139 | case CPU_5KC: | 139 | case CPU_5KC: |
140 | /* case CPU_20KC:*/ | ||
141 | case CPU_24K: | 140 | case CPU_24K: |
142 | case CPU_25KF: | 141 | case CPU_25KF: |
143 | case CPU_34K: | 142 | case CPU_34K: |
@@ -156,6 +155,17 @@ static inline void check_wait(void) | |||
156 | if (allow_au1k_wait) | 155 | if (allow_au1k_wait) |
157 | cpu_wait = au1k_wait; | 156 | cpu_wait = au1k_wait; |
158 | break; | 157 | break; |
158 | case CPU_20KC: | ||
159 | /* | ||
160 | * WAIT on Rev1.0 has E1, E2, E3 and E16. | ||
161 | * WAIT on Rev2.0 and Rev3.0 has E16. | ||
162 | * Rev3.1 WAIT is nop, why bother | ||
163 | */ | ||
164 | if ((c->processor_id & 0xff) <= 0x64) | ||
165 | break; | ||
166 | |||
167 | cpu_wait = r4k_wait; | ||
168 | break; | ||
159 | case CPU_RM9000: | 169 | case CPU_RM9000: |
160 | if ((c->processor_id & 0x00ff) >= 0x40) | 170 | if ((c->processor_id & 0x00ff) >= 0x40) |
161 | cpu_wait = r4k_wait; | 171 | cpu_wait = r4k_wait; |