summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2005-04-08 20:36:05 +0000
committerRalf Baechle <ralf@linux-mips.org>2005-10-29 19:31:03 +0100
commit2b07bd0235ca51816e4e43cb6781973358553a1b (patch)
tree91ca54b4880c91320d30e66b487274aa01c0b907
parentfe359bf58414478a0ddbd65923e2f1aceedf330f (diff)
downloadop-kernel-dev-2b07bd0235ca51816e4e43cb6781973358553a1b.zip
op-kernel-dev-2b07bd0235ca51816e4e43cb6781973358553a1b.tar.gz
Detect the 4KEcR2 and for now detect handle it like the 4KEc.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r--arch/mips/kernel/cpu-probe.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/kernel/cpu-probe.c b/arch/mips/kernel/cpu-probe.c
index 69e5fff..ce2966e 100644
--- a/arch/mips/kernel/cpu-probe.c
+++ b/arch/mips/kernel/cpu-probe.c
@@ -456,6 +456,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c)
c->cputype = CPU_4KEC;
c->isa_level = MIPS_CPU_ISA_M32;
break;
+ case PRID_IMP_4KECR2:
+ c->cputype = CPU_4KEC;
+ c->isa_level = MIPS_CPU_ISA_M32;
+ break;
case PRID_IMP_4KSC:
c->cputype = CPU_4KSC;
c->isa_level = MIPS_CPU_ISA_M32;
OpenPOWER on IntegriCloud