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
master
Mike Albon 2007-05-01 17:55:51 +00:00
parent f98f51104d
commit 3a2b993813
1 changed files with 13 additions and 0 deletions

View File

@ -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;