Skip to contentSkip to conversation

Longhaul - fix 200MHz FSB

PATCH New Rafał Bilski 1 participant 1 message Nov 30, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Longhaul - fix 200MHz FSB

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

---

arch/i386/kernel/cpu/cpufreq/longhaul.c +0 -0
@@ -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