From f09b9af8d18e70e3e04d5845ee8c8153bf0a9f91 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 25 Sep 2004 11:24:12 +0000 Subject: [PATCH] it8712 support. Original patch by Rudolf Marek. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2701 7894878c-1315-0410-8ee3-d5d059ff63e0 --- lib/chips.c | 1 + lib/chips.h | 1 + prog/sensors/main.c | 1 + 3 files changed, 3 insertions(+) diff --git a/lib/chips.c b/lib/chips.c index 914df0ab..69ff9e03 100644 --- a/lib/chips.c +++ b/lib/chips.c @@ -5261,6 +5261,7 @@ sensors_chip_features sensors_chip_features_list[] = { SENSORS_DS1621_PREFIX, ds1621_features }, { SENSORS_ADM1024_PREFIX, adm1024_features }, { SENSORS_IT87_PREFIX, it87_features }, + { SENSORS_IT8712_PREFIX, it87_features }, { SENSORS_FSCPOS_PREFIX, fscpos_features }, { SENSORS_FSCSCY_PREFIX, fscscy_features }, { SENSORS_FSCHER_PREFIX, fscher_features }, diff --git a/lib/chips.h b/lib/chips.h index 29c76b6e..8eef7a5e 100644 --- a/lib/chips.h +++ b/lib/chips.h @@ -1399,6 +1399,7 @@ /* IT87xx chips */ #define SENSORS_IT87_PREFIX "it87" +#define SENSORS_IT87_PREFIX "it8712" #define SENSORS_IT87_IN0 1 /* R */ #define SENSORS_IT87_IN1 2 /* R */ diff --git a/prog/sensors/main.c b/prog/sensors/main.c index 83a6a719..e2e81d3c 100644 --- a/prog/sensors/main.c +++ b/prog/sensors/main.c @@ -406,6 +406,7 @@ struct match matches[] = { { "maxilife-as", print_maxilife }, { "maxilife-nba", print_maxilife }, { "it87", print_it87 }, + { "it8712", print_it87 }, { "ddcmon", print_ddcmon }, { "eeprom", print_eeprom }, { "fscpos", print_fscpos },