summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormalbon <malbon@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-01 17:55:51 +0000
committermalbon <malbon@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-05-01 17:55:51 +0000
commitf27ed7c4172f11d8b873cf13d9209e67d47deb5a (patch)
treefa73ff8bdeaef03fe10f2f1c7978b0ecc15c9560
parent8973db8c919b1d65bccbe6c60cd3256596d8cda7 (diff)
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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7074 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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 000000000..c1b16b859
--- /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;
+