Skip to contentSkip to conversation

speedstep-smi: allow to load it in P4-Ms again

PATCH In review Dominik Brodowski 2 participants 2 messages Jan 29, 2005 – Feb 10, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 4/5 speedstep-smi: allow to load it in P4-Ms again

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

---

 arch/i386/kernel/cpu/cpufreq/speedstep-smi.c |    2 ++
 1 files changed, 2 insertions(+)
arch/i386/kernel/cpu/cpufreq/speedstep-smi.c +2 -0
Index: 2.6.11-rc2+/arch/i386/kernel/cpu/cpufreq/speedstep-smi.c
===================================================================
@@ -357,6 +357,8 @@
 	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");
 	default:
 		speedstep_processor = 0;
 	}
#1 lore raw
Quoted 3 lines · Dominik Brodowski

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

it works fine on a Thinkpad R32 with a P4M 1.7/1.2G (or is it 1.6/1.2? not sure, if you want it, i can get more info about the processor, just tell me what you need).
I'm not sure if other drivers work, i have taken the first stop at speedstep-smi ;-)

Signature · 1 line
Stefan Seyfried