Skip to content

Commit

Permalink
[CPUFREQ] Longhaul - fix 200MHz FSB
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Rafa³ Bilski authored and Dave Jones committed Dec 12, 2006
1 parent e11952b commit 3f4a25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/i386/kernel/cpu/cpufreq/longhaul.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 3f4a25f

Please sign in to comment.