lkml.org 
[lkml]   [2004]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectKernel 2.6 PowerBook3,3 patch
From
Date
Hi,

I have the following patch to add to arch/ppc/platforms/pmac_cpufreq.c
under kernel 2.6. it enables the PowerBook3,3 plateform to dynamically
change the cpu speed. Without it, my Titanium 2 powerbook 550 MHz have
always its fan at full speed and crashes in various ways. The
PowerBook3,3 plateform are the titanium powerbooks at 550 and 667 MHz
what were introducted at the end of 2001.

I hope this patch will be included in the standard kernel as it is the
only blocking problem I was experiencing using a fedora-2/3 ppc
distribution.

The patch is against the standard kernel 2.6.8.1 from kernel.org. I
know the file has changed under the various bk kernels, but it must
also apply (as this plateform PowerBook3,3 is not taken into account in
them also).

Regards,

--- arch/ppc/platforms/pmac_cpufreq.c 2004-08-14 07:37:14.000000000 +0200
+++ arch/ppc/platforms/pmac_cpufreq.c 2004-09-11 19:11:00.509192072 +0200
@@ -553,6 +553,12 @@
low_freq = 300000;
set_speed_proc = pmu_set_cpu_speed;
}
+ /* Else check for TiPb 550 & 667 */
+ else if (machine_is_compatible("PowerBook3,3")) {
+ hi_freq = cur_freq;
+ low_freq = 300000;
+ set_speed_proc = pmu_set_cpu_speed;
+ }
/* Else check for 750FX */
else if (PVR_VER(mfspr(PVR)) == 0x7000) {
if (get_property(cpunode, "dynamic-power-step", NULL) == NULL)
\
 
 \ /
  Last update: 2005-03-22 14:06    [W:0.039 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site