瀏覽代碼

MIPS: Probe the P6600 core

Support probing the P6600 core now that cases for handling it have been
added throughout the core MIPS kernel code.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Maciej W. Rozycki <macro@imgtec.com>
Cc: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Cc: James Hogan <james.hogan@imgtec.com>
Cc: linux-mips@linux-mips.org
Cc: linux-kernel@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/12344/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Paul Burton 9 年之前
父節點
當前提交
eba20a3a37
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      arch/mips/kernel/cpu-probe.c

+ 4 - 0
arch/mips/kernel/cpu-probe.c

@@ -1317,6 +1317,10 @@ static inline void cpu_probe_mips(struct cpuinfo_mips *c, unsigned int cpu)
 		c->cputype = CPU_P5600;
 		c->cputype = CPU_P5600;
 		__cpu_name[cpu] = "MIPS P5600";
 		__cpu_name[cpu] = "MIPS P5600";
 		break;
 		break;
+	case PRID_IMP_P6600:
+		c->cputype = CPU_P6600;
+		__cpu_name[cpu] = "MIPS P6600";
+		break;
 	case PRID_IMP_I6400:
 	case PRID_IMP_I6400:
 		c->cputype = CPU_I6400;
 		c->cputype = CPU_I6400;
 		__cpu_name[cpu] = "MIPS I6400";
 		__cpu_name[cpu] = "MIPS I6400";