]> err.no Git - linux-2.6/blobdiff - arch/mips/kernel/cpu-probe.c
Add support for SB1A CPU.
[linux-2.6] / arch / mips / kernel / cpu-probe.c
index 8e6427a50916aa8ebe65f2fc0bf1a4e2a5b38251..a263fb7a39715aa9e4dd8014cdb8ca9631617d9f 100644 (file)
@@ -548,6 +548,7 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c)
                c->cputype = CPU_4KEC;
                break;
        case PRID_IMP_4KSC:
+       case PRID_IMP_4KSD:
                c->cputype = CPU_4KSC;
                break;
        case PRID_IMP_5KC:
@@ -611,7 +612,7 @@ static inline void cpu_probe_sibyte(struct cpuinfo_mips *c)
         * cache code which eventually will be folded into c-r4k.c.  Until
         * then we pretend it's got it's own cache architecture.
         */
-       c->options &= MIPS_CPU_4K_CACHE;
+       c->options &= ~MIPS_CPU_4K_CACHE;
        c->options |= MIPS_CPU_SB1_CACHE;
 
        switch (c->processor_id & 0xff00) {
@@ -622,6 +623,9 @@ static inline void cpu_probe_sibyte(struct cpuinfo_mips *c)
                c->options &= ~(MIPS_CPU_FPU | MIPS_CPU_32FPR);
 #endif
                break;
+       case PRID_IMP_SB1A:
+               c->cputype = CPU_SB1A;
+               break;
        }
 }