Commit a0dea52b authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[CPUFREQ] Recognise another Dothan variant in speedstep driver.

From: Jeremy Fitzhardinge <jeremy@goop.org>
Signed-off-by: default avatarDave Jones <davej@redhat.com>
parent 701e8ea4
...@@ -53,12 +53,14 @@ struct cpu_id ...@@ -53,12 +53,14 @@ struct cpu_id
enum { enum {
CPU_BANIAS, CPU_BANIAS,
CPU_DOTHAN_A1, CPU_DOTHAN_A1,
CPU_DOTHAN_A2,
CPU_DOTHAN_B0, CPU_DOTHAN_B0,
}; };
static const struct cpu_id cpu_ids[] = { static const struct cpu_id cpu_ids[] = {
[CPU_BANIAS] = { 6, 9, 5 }, [CPU_BANIAS] = { 6, 9, 5 },
[CPU_DOTHAN_A1] = { 6, 13, 1 }, [CPU_DOTHAN_A1] = { 6, 13, 1 },
[CPU_DOTHAN_A2] = { 6, 13, 2 },
[CPU_DOTHAN_B0] = { 6, 13, 6 }, [CPU_DOTHAN_B0] = { 6, 13, 6 },
}; };
#define N_IDS (sizeof(cpu_ids)/sizeof(cpu_ids[0])) #define N_IDS (sizeof(cpu_ids)/sizeof(cpu_ids[0]))
...@@ -221,6 +223,7 @@ static struct cpu_model models[] = ...@@ -221,6 +223,7 @@ static struct cpu_model models[] =
/* NULL model_name is a wildcard */ /* NULL model_name is a wildcard */
{ &cpu_ids[CPU_DOTHAN_A1], NULL, 0, NULL }, { &cpu_ids[CPU_DOTHAN_A1], NULL, 0, NULL },
{ &cpu_ids[CPU_DOTHAN_A2], NULL, 0, NULL },
{ &cpu_ids[CPU_DOTHAN_B0], NULL, 0, NULL }, { &cpu_ids[CPU_DOTHAN_B0], NULL, 0, NULL },
{ NULL, } { NULL, }
......
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