diff options
author | Herton Ronaldo Krzesinski <herton@mandriva.com.br> | 2008-11-15 17:02:46 -0200 |
---|---|---|
committer | Dave Jones <davej@redhat.com> | 2008-12-05 15:20:11 -0500 |
commit | c60e19eb21d9a0fb0d78969884f32d88354abca9 (patch) | |
tree | 4e6a163ec9e127d1d954830b7646c4805f530464 /arch/x86/kernel/cpu/cpufreq/speedstep-lib.c | |
parent | e088e4c9cdb618675874becb91b2fd581ee707e6 (diff) | |
download | blackbird-op-linux-c60e19eb21d9a0fb0d78969884f32d88354abca9.tar.gz blackbird-op-linux-c60e19eb21d9a0fb0d78969884f32d88354abca9.zip |
[CPUFREQ] add to speedstep-lib additional fsb values for core processors
Add additional fsb values to pentium_core_get_frequency, from latest edition
(September 2008) of Intel 64 and IA-32 Architectures Software Develper's Manual,
Volume 3B: System Programming Guide, Part 2. Values added are to detect 800,
1067 and 1333 FSB types.
Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Dave Jones <davej@redhat.com>
Diffstat (limited to 'arch/x86/kernel/cpu/cpufreq/speedstep-lib.c')
-rw-r--r-- | arch/x86/kernel/cpu/cpufreq/speedstep-lib.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/x86/kernel/cpu/cpufreq/speedstep-lib.c b/arch/x86/kernel/cpu/cpufreq/speedstep-lib.c index 98d4fdb7dc04..cdac7d62369b 100644 --- a/arch/x86/kernel/cpu/cpufreq/speedstep-lib.c +++ b/arch/x86/kernel/cpu/cpufreq/speedstep-lib.c @@ -139,6 +139,15 @@ static unsigned int pentium_core_get_frequency(void) case 3: fsb = 166667; break; + case 2: + fsb = 200000; + break; + case 0: + fsb = 266667; + break; + case 4: + fsb = 333333; + break; default: printk(KERN_ERR "PCORE - MSR_FSB_FREQ undefined value"); } |