Commit 2ccb9b6a authored by Dave Jones's avatar Dave Jones

[CPUFREQ] new Dothan variant for speedstep-centrino

Add support for new Dothan variant (CPUID 0x6d6) to speedstep-centrino.
Noted to be missing and tested by Athul Acharya.
Signed-off-by: default avatarDominik Brodowski <linux@brodo.de>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent b982274d
......@@ -60,6 +60,13 @@ static const struct cpu_id cpu_id_dothan_a1 = {
.x86_mask = 1,
};
static const struct cpu_id cpu_id_dothan_b0 = {
.x86_vendor = X86_VENDOR_INTEL,
.x86 = 6,
.x86_model = 13,
.x86_mask = 6,
};
struct cpu_model
{
const struct cpu_id *cpu_id;
......@@ -400,7 +407,8 @@ static int centrino_cpu_init(struct cpufreq_policy *policy)
return -ENODEV;
if ((centrino_verify_cpu_id(cpu, &cpu_id_banias)) &&
(centrino_verify_cpu_id(cpu, &cpu_id_dothan_a1))) {
(centrino_verify_cpu_id(cpu, &cpu_id_dothan_a1)) &&
(centrino_verify_cpu_id(cpu, &cpu_id_dothan_b0))) {
printk(KERN_INFO PFX "found unsupported CPU with Enhanced SpeedStep: "
"send /proc/cpuinfo to " MAINTAINER "\n");
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