Commit 6f6d1936 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Add support for Pentium M (Dothan) processors.

Until further review, only ACPI data will get this driver to run - no built-in tables will exist.
                                                                                
Many thanks to Thomas Renninger for reporting the lack of, and testing
the support for Dothan processors.
parent 3b9f5d56
...@@ -53,6 +53,13 @@ static const struct cpu_id cpu_id_banias = { ...@@ -53,6 +53,13 @@ static const struct cpu_id cpu_id_banias = {
.x86_mask = 5, .x86_mask = 5,
}; };
static const struct cpu_id cpu_id_dothan_a1 = {
.x86_vendor = X86_VENDOR_INTEL,
.x86 = 6,
.x86_model = 13,
.x86_mask = 1,
};
struct cpu_model struct cpu_model
{ {
const struct cpu_id *cpu_id; const struct cpu_id *cpu_id;
...@@ -392,10 +399,8 @@ static int centrino_cpu_init(struct cpufreq_policy *policy) ...@@ -392,10 +399,8 @@ static int centrino_cpu_init(struct cpufreq_policy *policy)
if (!cpu_has(cpu, X86_FEATURE_EST)) if (!cpu_has(cpu, X86_FEATURE_EST))
return -ENODEV; return -ENODEV;
/* Only Intel Pentium M stepping 5 for now - add new CPUs as if ((centrino_verify_cpu_id(cpu, &cpu_id_banias)) &&
they appear after making sure they use PERF_CTL in the same (centrino_verify_cpu_id(cpu, &cpu_id_dothan_a1))) {
way. */
if (centrino_verify_cpu_id(cpu, &cpu_id_banias)) {
printk(KERN_INFO PFX "found unsupported CPU with Enhanced SpeedStep: " printk(KERN_INFO PFX "found unsupported CPU with Enhanced SpeedStep: "
"send /proc/cpuinfo to " MAINTAINER "\n"); "send /proc/cpuinfo to " MAINTAINER "\n");
return -ENODEV; return -ENODEV;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment