aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
authorMichael Riepe <michael.riepe@googlemail.com>2009-09-21 20:04:41 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2009-09-22 10:17:48 -0400
commit0bf41d9f414a5cf558aff234a0ff486257537574 (patch)
tree0ee03f5c5d245f7abedd9be49cef04a9e9d5bd25 /drivers/hwmon
parent42e41c54d61e32e8a349943607daa53205324d7f (diff)
drivers/hwmon/coretemp.c: enable the Intel Atom
Enable the coretemp driver on an Intel Atom. I'm not sure if the readings are correct, however - on my 330, the driver reports values between 27 and 41 °C (with core1 being about 8°C hotter than core0, given the same load). Maybe the maximum temperature of 100 °C is wrong for Atom CPUs. Cc: Arjan van de Ven <arjan@infradead.org> Cc: Rudolf Marek <r.marek@assembler.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/coretemp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/hwmon/coretemp.c b/drivers/hwmon/coretemp.c
index 93c17223b527..972cf4ba963c 100644
--- a/drivers/hwmon/coretemp.c
+++ b/drivers/hwmon/coretemp.c
@@ -185,7 +185,7 @@ static int __devinit adjust_tjmax(struct cpuinfo_x86 *c, u32 id, struct device *
185 } 185 }
186 } 186 }
187 187
188 if (ismobile) { 188 if (ismobile || c->x86_model == 0x1c) {
189 189
190 err = rdmsr_safe_on_cpu(id, 0xee, &eax, &edx); 190 err = rdmsr_safe_on_cpu(id, 0xee, &eax, &edx);
191 if (err) { 191 if (err) {
@@ -417,7 +417,7 @@ static int __init coretemp_init(void)
417 if ((c->cpuid_level < 0) || (c->x86 != 0x6) || 417 if ((c->cpuid_level < 0) || (c->x86 != 0x6) ||
418 !((c->x86_model == 0xe) || (c->x86_model == 0xf) || 418 !((c->x86_model == 0xe) || (c->x86_model == 0xf) ||
419 (c->x86_model == 0x16) || (c->x86_model == 0x17) || 419 (c->x86_model == 0x16) || (c->x86_model == 0x17) ||
420 (c->x86_model == 0x1A))) { 420 (c->x86_model == 0x1A) || (c->x86_model == 0x1c))) {
421 421
422 /* supported CPU not found, but report the unknown 422 /* supported CPU not found, but report the unknown
423 family 6 CPU */ 423 family 6 CPU */