summary refs log tree commit diff
path: root/arch/i386
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2005-05-31 19:03:44 -0700
committerDave Jones <davej@redhat.com>2005-05-31 19:03:44 -0700
commit6f4095af6df7aa365ecf18473c8b05c5f6c38a78 (patch)
tree44031d0e3c3564a7998a285a22b871c46c8cd310 /arch/i386
parent6fe711658fcf92d39d84c0b7e6332ed6625dc520 (diff)
downloadlinux-6f4095af6df7aa365ecf18473c8b05c5f6c38a78.tar.gz
[CPUFREQ] speedstep-smi: it works on at least one P4M
The speedstep-smi driver actually works on >=1 notebook with a
Pentium 4-M CPU where all other cpufreq drivers fail. Therefore,
allow speedstep-smi on P4Ms again, but warn users of likely failure

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Dave Jones <davej@redhat.com>

Diffstat (limited to 'arch/i386')
-rw-r--r--arch/i386/kernel/cpu/cpufreq/speedstep-smi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c b/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
index 79440b3f087e..b25fb6b635ae 100644
--- a/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
+++ b/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
@@ -357,6 +357,9 @@ static int __init speedstep_init(void)
 	case SPEEDSTEP_PROCESSOR_PIII_C:
 	case SPEEDSTEP_PROCESSOR_PIII_C_EARLY:
 		break;
+	case SPEEDSTEP_PROCESSOR_P4M:
+		printk(KERN_INFO "speedstep-smi: you're trying to use this cpufreq driver on a Pentium 4-based CPU. Most likely it will not work.\n");
+		break;
 	default:
 		speedstep_processor = 0;
 	}