All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] cpufreq: add speedstep support for Intel Mobile Pentium P-4 with 533 MHz FSB
@ 2003-06-24 18:34 Dominik Brodowski
  2003-06-26  0:51 ` Dave Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Dominik Brodowski @ 2003-06-24 18:34 UTC (permalink / raw)
  To: davej, cpufreq

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

diff -ruN linux-original/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c linux/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c
--- linux-original/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c	2003-06-18 11:04:13.000000000 +0200
+++ linux/arch/i386/kernel/cpu/cpufreq/speedstep-lib.c	2003-06-24 20:31:10.000000000 +0200
@@ -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);

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-06-26  0:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-24 18:34 [PATCH] cpufreq: add speedstep support for Intel Mobile Pentium P-4 with 533 MHz FSB Dominik Brodowski
2003-06-26  0:51 ` Dave Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.