All of lore.kernel.org
 help / color / mirror / Atom feed
* Longhaul - fix 200MHz FSB
@ 2006-11-23  7:50 Rafał Bilski
  0 siblings, 0 replies; only message in thread
From: Rafał Bilski @ 2006-11-23  7:50 UTC (permalink / raw)
  To: Dave Jones; +Cc: cpufreq

On board of Epia SP1300 is 10x133Mhz VIA Nehemiah. It is reported 
as 10x200MHz. This patch is fixing this issue.

Signed-off-by: Rafa³ Bilski <rafalbilski@interia.pl>

Dave Jones - is there any chance to put this patch and CN400 
support in 2.6.19? CN400 support will be tested after monday. Looks 
like SP13000 has "no C2/C3" issue too. It is working with 
"ignore_latency", but northbridge support is always better.

--- 

diff --git a/arch/i386/kernel/cpu/cpufreq/longhaul.c b/arch/i386/kernel/cpu/cpufreq/longhaul.c
--- a/arch/i386/kernel/cpu/cpufreq/longhaul.c
+++ b/arch/i386/kernel/cpu/cpufreq/longhaul.c
@@ -410,7 +410,7 @@ static int __init longhaul_get_ranges(vo
 			maxmult=longhaul_get_cpu_mult();
 
 			/* Starting with the 1.2GHz parts, theres a 200MHz bus. */
-			if ((cpu_khz/1000) > 1200)
+			if ((cpu_khz/maxmult) > 13400)
 				fsb = 200;
 			else
 				fsb = eblcr_fsb_table_v2[longhaul.bits.MaxMHzFSB];

----------------------------------------------------------------------
Gotuj sie na Swieta z IKEA. Przygotowalismy ciekawe promocje. Kredyt, 
ktory splacisz po zimie. Kuchnie, ktore podolaja przygotowaniu potraw. 
Dowiedz sie wiecej na: http://link.interia.pl/f19d0

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-11-23  7:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-23  7:50 Longhaul - fix 200MHz FSB Rafał Bilski

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.