]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[CPUFREQ] add to speedstep-lib additional fsb values for core processors
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Sat, 15 Nov 2008 19:02:46 +0000 (17:02 -0200)
committerDave Jones <davej@redhat.com>
Fri, 5 Dec 2008 20:20:11 +0000 (15:20 -0500)
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>
arch/x86/kernel/cpu/cpufreq/speedstep-lib.c

index 98d4fdb7dc046b73cfc00402be21da9a9d303686..cdac7d62369b645a00b15c41c4d617e78b86c3b1 100644 (file)
@@ -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");
        }