2010-11-23 14:12:42 +00:00
|
|
|
--- a/arch/mips/include/asm/cpu.h
|
|
|
|
+++ b/arch/mips/include/asm/cpu.h
|
|
|
|
@@ -111,7 +111,7 @@
|
|
|
|
* These are the PRID's for when 23:16 == PRID_COMP_BROADCOM
|
|
|
|
*/
|
|
|
|
|
|
|
|
-#define PRID_IMP_BMIPS4KC 0x4000
|
|
|
|
+#define PRID_IMP_BCM4710 0x4000
|
|
|
|
#define PRID_IMP_BMIPS32 0x8000
|
|
|
|
#define PRID_IMP_BMIPS3300 0x9000
|
|
|
|
#define PRID_IMP_BMIPS3300_ALT 0x9100
|
|
|
|
@@ -226,8 +226,8 @@ enum cpu_type_enum {
|
|
|
|
* MIPS32 class processors
|
|
|
|
*/
|
|
|
|
CPU_4KC, CPU_4KEC, CPU_4KSC, CPU_24K, CPU_34K, CPU_1004K, CPU_74K,
|
|
|
|
- CPU_ALCHEMY, CPU_PR4450, CPU_BMIPS32, CPU_BMIPS3300, CPU_BMIPS4350,
|
|
|
|
- CPU_BMIPS4380, CPU_BMIPS5000, CPU_JZRISC,
|
|
|
|
+ CPU_ALCHEMY, CPU_PR4450, CPU_BCM4710, CPU_BMIPS32, CPU_BMIPS3300,
|
|
|
|
+ CPU_BMIPS4350, CPU_BMIPS4380, CPU_BMIPS5000, CPU_JZRISC,
|
|
|
|
|
|
|
|
/*
|
|
|
|
* MIPS64 class processors
|
2010-11-22 18:16:55 +00:00
|
|
|
--- a/arch/mips/kernel/cpu-probe.c
|
|
|
|
+++ b/arch/mips/kernel/cpu-probe.c
|
2010-11-23 14:12:42 +00:00
|
|
|
@@ -933,9 +933,9 @@ static inline void cpu_probe_broadcom(st
|
|
|
|
__cpu_name[cpu] = "Broadcom BMIPS5000";
|
2010-11-22 18:16:55 +00:00
|
|
|
c->options |= MIPS_CPU_ULRI;
|
|
|
|
break;
|
2010-11-23 14:12:42 +00:00
|
|
|
- case PRID_IMP_BMIPS4KC:
|
2010-11-22 18:16:55 +00:00
|
|
|
- c->cputype = CPU_4KC;
|
|
|
|
- __cpu_name[cpu] = "MIPS 4Kc";
|
2010-11-23 14:12:42 +00:00
|
|
|
+ case PRID_IMP_BCM4710:
|
|
|
|
+ c->cputype = CPU_BCM4710;
|
|
|
|
+ __cpu_name[cpu] = "Broadcom BCM4710";
|
2010-11-22 18:16:55 +00:00
|
|
|
break;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
--- a/arch/mips/mm/tlbex.c
|
|
|
|
+++ b/arch/mips/mm/tlbex.c
|
2010-11-23 14:12:42 +00:00
|
|
|
@@ -338,6 +338,7 @@ static void __cpuinit build_tlb_write_en
|
|
|
|
case CPU_4KSC:
|
|
|
|
case CPU_20KC:
|
|
|
|
case CPU_25KF:
|
|
|
|
+ case CPU_BCM4710:
|
|
|
|
case CPU_BMIPS32:
|
2010-11-22 18:16:55 +00:00
|
|
|
case CPU_BMIPS3300:
|
|
|
|
case CPU_BMIPS4350:
|