summaryrefslogtreecommitdiff
path: root/target/linux/brcm47xx-2.6/patches/170-cpu_wait.patch
diff options
context:
space:
mode:
authorMike Albon <malbon@openwrt.org>2007-05-01 17:55:51 +0000
committerMike Albon <malbon@openwrt.org>2007-05-01 17:55:51 +0000
commit3efb6d7fbfbd9e4472d4012b4b7d198e07209610 (patch)
tree527a01d5761dcae5357199c5e2bfc7f61f627246 /target/linux/brcm47xx-2.6/patches/170-cpu_wait.patch
parentd87273ae0a097ad26e222c9f0806db3298c4d672 (diff)
downloadmtk-20170518-3efb6d7fbfbd9e4472d4012b4b7d198e07209610.zip
mtk-20170518-3efb6d7fbfbd9e4472d4012b4b7d198e07209610.tar.gz
mtk-20170518-3efb6d7fbfbd9e4472d4012b4b7d198e07209610.tar.bz2
Patch to add wait support to broadcom cpu's. This reduces the power consumption and heat generated on the wgt634u. Needs testing on other devices.
SVN-Revision: 7074
Diffstat (limited to 'target/linux/brcm47xx-2.6/patches/170-cpu_wait.patch')
-rw-r--r--target/linux/brcm47xx-2.6/patches/170-cpu_wait.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/target/linux/brcm47xx-2.6/patches/170-cpu_wait.patch b/target/linux/brcm47xx-2.6/patches/170-cpu_wait.patch
new file mode 100644
index 0000000..c1b16b8
--- /dev/null
+++ b/target/linux/brcm47xx-2.6/patches/170-cpu_wait.patch
@@ -0,0 +1,13 @@
+diff -urN linux-2.6.19.2.old/arch/mips/kernel/cpu-probe.c linux-2.6.19.2/arch/mips/kernel/cpu-probe.c
+--- linux-2.6.19.2.old/arch/mips/kernel/cpu-probe.c 2007-05-01 17:40:29.442141369 +0100
++++ linux-2.6.19.2/arch/mips/kernel/cpu-probe.c 2007-05-01 17:47:11.112141369 +0100
+@@ -145,6 +145,8 @@
+ case CPU_34K:
+ case CPU_74K:
+ case CPU_PR4450:
++ case CPU_BCM3302:
++ case CPU_BCM4710:
+ cpu_wait = r4k_wait;
+ printk(" available.\n");
+ break;
+