* [PATCH] Longhaul - Fix multipliers table
@ 2006-07-14 17:36 Rafał Bilski
2006-07-14 22:24 ` Dave Jones
0 siblings, 1 reply; 2+ messages in thread
From: Rafał Bilski @ 2006-07-14 17:36 UTC (permalink / raw)
To: Dave Jones; +Cc: cpufreq
This patch fix multiplier table. Some values are swaped
and 9.0*133MHz processor is incorrecly reported as
5.0*133MHz.
Signed-off-by: Rafa³ Bilski <rafalbilski@interia.pl>
---
--- linux-2.6.17-git20/arch/i386/kernel/cpu/cpufreq/longhaul.c.orig 2006-07-14 19:22:01.000000000 +0200
+++ linux-2.6.17-git20/arch/i386/kernel/cpu/cpufreq/longhaul.c 2006-07-14 19:27:21.000000000 +0200
@@ -323,8 +323,10 @@ static int __init longhaul_get_ranges(vo
{
unsigned long invalue;
unsigned int multipliers[32]= {
- 50,40,30,100,55,35,45,95,90,70,80,60,120,75,85,65,
- -1,110,120,-1,135,115,125,105,130,150,160,140,-1,155,-1,145 };
+ 90, 30, 40, 100, 55, 35, 45, 95,
+ 50, 70, 80, 60, 120, 75, 85, 65,
+ -1, 110, 120, -1, 135, 115, 125, 105,
+ 130, 150, 160, 140, -1, 155, -1, 145 };
unsigned int j, k = 0;
union msr_longhaul longhaul;
unsigned long lo, hi;
----------------------------------------------------------------------
Upal jakby mniejszy... http://link.interia.pl/f1975
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] Longhaul - Fix multipliers table
2006-07-14 17:36 [PATCH] Longhaul - Fix multipliers table Rafał Bilski
@ 2006-07-14 22:24 ` Dave Jones
0 siblings, 0 replies; 2+ messages in thread
From: Dave Jones @ 2006-07-14 22:24 UTC (permalink / raw)
To: Rafał Bilski; +Cc: cpufreq
On Fri, Jul 14, 2006 at 07:36:05PM +0200, Rafał Bilski wrote:
> This patch fix multiplier table. Some values are swaped
> and 9.0*133MHz processor is incorrecly reported as
> 5.0*133MHz.
Wow, not sure what happened there. Looks like there was some
confusion over which CPU this table was for.
Care to rename multipliers to ezra_t_multipliers or c5m_multipliers
at the same time to ease the confusion?
Dave
--
http://www.codemonkey.org.uk
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-07-14 22:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-14 17:36 [PATCH] Longhaul - Fix multipliers table Rafał Bilski
2006-07-14 22:24 ` Dave Jones
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.