From 1c3d05cf739b54cf71010bb4d3e0ec70d7811a46 Mon Sep 17 00:00:00 2001 From: kaloz Date: Tue, 23 Oct 2012 12:21:34 +0000 Subject: [generic]: linux 3.6 support (work in progress) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33897 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../308-mips-show-correct-cpu-name-for-24KEc.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 target/linux/generic/patches-3.6/308-mips-show-correct-cpu-name-for-24KEc.patch (limited to 'target/linux/generic/patches-3.6/308-mips-show-correct-cpu-name-for-24KEc.patch') diff --git a/target/linux/generic/patches-3.6/308-mips-show-correct-cpu-name-for-24KEc.patch b/target/linux/generic/patches-3.6/308-mips-show-correct-cpu-name-for-24KEc.patch new file mode 100644 index 000000000..ac6304a2b --- /dev/null +++ b/target/linux/generic/patches-3.6/308-mips-show-correct-cpu-name-for-24KEc.patch @@ -0,0 +1,17 @@ +--- a/arch/mips/kernel/cpu-probe.c ++++ b/arch/mips/kernel/cpu-probe.c +@@ -816,10 +816,13 @@ static inline void cpu_probe_mips(struct + __cpu_name[cpu] = "MIPS 20Kc"; + break; + case PRID_IMP_24K: +- case PRID_IMP_24KE: + c->cputype = CPU_24K; + __cpu_name[cpu] = "MIPS 24Kc"; + break; ++ case PRID_IMP_24KE: ++ c->cputype = CPU_24K; ++ __cpu_name[cpu] = "MIPS 24KEc"; ++ break; + case PRID_IMP_25KF: + c->cputype = CPU_25KF; + __cpu_name[cpu] = "MIPS 25Kc"; -- cgit v1.2.3