Ver Fonte

[CPUFREQ] Longhaul - fix 200MHz FSB

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>
Signed-off-by: Dave Jones <davej@redhat.com>
Rafa Bilski há 18 anos atrás
pai
commit
3f4a25f17e
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      arch/i386/kernel/cpu/cpufreq/longhaul.c

+ 1 - 1
arch/i386/kernel/cpu/cpufreq/longhaul.c

@@ -410,7 +410,7 @@ static int __init longhaul_get_ranges(void)
 			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];