Skip to contentSkip to conversation

cpufreq: add speedstep support for Intel Mobile Pentium P-4 with 533 MHz FSB

PATCH In review Dominik Brodowski 2 participants 2 messages Jun 24, 2003 – Jun 26, 2003

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: add speedstep support for Intel Mobile Pentium P-4 with 533 MHz FSB

Add support for newest "Mobile Pentium 4-M" and the new "Mobile Pentium 4 with 533 MHz FSB" processors.

Depends on the speedstep-lib patch sent earlier.

Dominik

arch/i386/kernel/cpu/cpufreq/speedstep-lib.c +5 -2
diff -ruN linux-original/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c linux/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c
@@ -148,11 +148,14 @@
 		return 0;
 
 	if (c->x86 == 0xF) {
-		/* Intel Pentium 4 Mobile P4-M */
+		/* Intel Mobile Pentium 4-M
+		 * or Intel Mobile Pentium 4 with 533 MHz FSB */
 		if (c->x86_model != 2)
 			return 0;
 
-		if ((c->x86_mask != 4) && (c->x86_mask != 7))
+		if ((c->x86_mask != 4) && /* B-stepping [M-P4-M] */
+		    (c->x86_mask != 7) && /* C-stepping [M-P4-M] */
+		    (c->x86_mask != 9))   /* D-stepping [M-P4-M or M-P4/533] */
 			return 0;
 
 		ebx = cpuid_ebx(0x00000001);
#1 lore raw
Quoted 4 lines · Dominik Brodowski

Add support for newest "Mobile Pentium 4-M" and the new "Mobile Pentium 4 with 533 MHz FSB" processors.

Depends on the speedstep-lib patch sent earlier.

Looks good, applied.

Dave

Signature · 2 lines
| Dave Jones.        http://www.codemonkey.org.uk
| SuSE Labs