Skip to content

Commit c940336

Browse files
ruikruikMark M. Hoffman
authored andcommitted
hwmon: (coretemp) Add support for Celeron 4xx
This patch adds support for the Celeron 4xx based on Core 2 core. Signed-off-by: Rudolf Marek <[email protected]> Signed-off-by: Mark M. Hoffman <[email protected]>
1 parent 889af3d commit c940336

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Documentation/hwmon/coretemp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Kernel driver coretemp
44
Supported chips:
55
* All Intel Core family
66
Prefix: 'coretemp'
7-
CPUID: family 0x6, models 0xe, 0xf
7+
CPUID: family 0x6, models 0xe, 0xf, 0x16
88
Datasheet: Intel 64 and IA-32 Architectures Software Developer's Manual
99
Volume 3A: System Programming Guide
1010

drivers/hwmon/coretemp.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,9 +369,10 @@ static int __init coretemp_init(void)
369369
for_each_online_cpu(i) {
370370
struct cpuinfo_x86 *c = &(cpu_data)[i];
371371

372-
/* check if family 6, models e, f */
372+
/* check if family 6, models e, f, 16 */
373373
if ((c->cpuid_level < 0) || (c->x86 != 0x6) ||
374-
!((c->x86_model == 0xe) || (c->x86_model == 0xf))) {
374+
!((c->x86_model == 0xe) || (c->x86_model == 0xf) ||
375+
(c->x86_model == 0x16))) {
375376

376377
/* supported CPU not found, but report the unknown
377378
family 6 CPU */

0 commit comments

Comments
 (0)