lkml.org 
[lkml]   [2003]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [2.6.0-test7] cpufreq longhaul trouble
From
Date
On Fri, 2003-10-10 at 21:58, Dave Jones wrote:
> On Fri, Oct 10, 2003 at 09:54:11PM +0200, Jurgen Kramer wrote:
> > > > 995
> > > wtf, it still displays "Highestspeed=798MHz" on startup though right ?
> > Yep,
>
> another stupid bug.
> calc_speed should look like this..
>
> static unsigned int calc_speed (int mult, int fsb)
> {
> int mhz;
> mhz = (mult/10)*fsb;
> if (mult%10)
> mhz += fsb/2;
> return mhz;
> }
>

Fixed that one:

[root@paradox cpufreq]# more *
::::::::::::::
cpuinfo_max_freq
::::::::::::::
798
::::::::::::::
cpuinfo_min_freq
::::::::::::::
399
::::::::::::::
scaling_available_governors
::::::::::::::
userspace
::::::::::::::
scaling_driver
::::::::::::::
longhaul
::::::::::::::
scaling_governor
::::::::::::::
userspace
::::::::::::::
scaling_max_freq
::::::::::::::
798
::::::::::::::
scaling_min_freq
::::::::::::::
399
::::::::::::::
scaling_setspeed
::::::::::::::
798


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.050 / U:0.312 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site