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

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

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

--- 

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


----------------------------------------------------------------------
PS. >>> http://link.interia.pl/f19a6

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

only message in thread, other threads:[~2006-11-30  2:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-30  2:36 [PATCH] 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.