All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dominik Brodowski <linux@brodo.de>
To: davej@suse.de, cpufreq@www.linux.org.uk
Subject: [PATCH] cpufreq: add speedstep support for Intel Mobile Pentium P-4 with 533 MHz FSB
Date: Tue, 24 Jun 2003 20:34:02 +0200	[thread overview]
Message-ID: <20030624183402.GA10605@brodo.de> (raw)

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);

             reply	other threads:[~2003-06-24 18:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-24 18:34 Dominik Brodowski [this message]
2003-06-26  0:51 ` [PATCH] cpufreq: add speedstep support for Intel Mobile Pentium P-4 with 533 MHz FSB Dave Jones

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030624183402.GA10605@brodo.de \
    --to=linux@brodo.de \
    --cc=cpufreq@www.linux.org.uk \
    --cc=davej@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.