From 85d681d5c403caba4049bd3f3896508b4be1e391 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 25 May 2007 07:35:00 +0000 Subject: [PATCH] Add support for the max6680. Patch from Rainer Birkenmaier (Siemens). git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4412 7894878c-1315-0410-8ee3-d5d059ff63e0 --- CHANGES | 1 + etc/sensors.conf.eg | 2 +- lib/chips.c | 1 + lib/chips.h | 3 ++- prog/sensors/main.c | 1 + 5 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGES b/CHANGES index 2215e9d6..ea972b5a 100644 --- a/CHANGES +++ b/CHANGES @@ -18,6 +18,7 @@ SVN HEAD Program sensors: Drop ddcmon and eeprom support Add dme1737 support Add applesmc support + Add max6680 support Program sensors-detect: Stop Super-I/O probe after first family success Fix SMSC DME1737 detection Add /usr/sbin to the PATH (#2199) diff --git a/etc/sensors.conf.eg b/etc/sensors.conf.eg index ff89cfd7..9d5396f8 100644 --- a/etc/sensors.conf.eg +++ b/etc/sensors.conf.eg @@ -1961,7 +1961,7 @@ chip "max1619-*" # set temp2_hyst 40 -chip "lm90-*" "adm1032-*" "lm86-*" "max6657-*" "adt7461-*" +chip "lm90-*" "adm1032-*" "lm86-*" "max6657-*" "adt7461-*" "max6680-*" label temp1 "M/B Temp" label temp2 "CPU Temp" diff --git a/lib/chips.c b/lib/chips.c index 5b08c242..d35abcf2 100644 --- a/lib/chips.c +++ b/lib/chips.c @@ -6191,6 +6191,7 @@ sensors_chip_features sensors_chip_features_list[] = { SENSORS_LM86_PREFIX, lm90_features }, { SENSORS_MAX6657_PREFIX, lm90_features }, { SENSORS_ADT7461_PREFIX, lm90_features }, + { SENSORS_MAX6680_PREFIX, lm90_features }, { SENSORS_LM63_PREFIX, lm63_features }, { SENSORS_MAX1619_PREFIX, max1619_features }, { SENSORS_XEONTEMP_PREFIX, xeontemp_features }, diff --git a/lib/chips.h b/lib/chips.h index 367cce60..5d63f36c 100644 --- a/lib/chips.h +++ b/lib/chips.h @@ -500,7 +500,7 @@ #define SENSORS_LM85_ZONE3_RANGE 100 /* RW -- zone3_range */ #define SENSORS_LM85_ZONE3_SMOOTH 101 /* RW -- zone3_smooth */ -/* LM86/LM89/LM90/LM99/ADM1032/MAX6657/ADT7461 chips */ +/* LM86/LM89/LM90/LM99/ADM1032/MAX6657/MAX6680/ADT7461 chips */ #define SENSORS_LM90_PREFIX "lm90" #define SENSORS_ADM1032_PREFIX "adm1032" @@ -508,6 +508,7 @@ #define SENSORS_LM86_PREFIX "lm86" #define SENSORS_MAX6657_PREFIX "max6657" #define SENSORS_ADT7461_PREFIX "adt7461" +#define SENSORS_MAX6680_PREFIX "max6680" #define SENSORS_LM90_LOCAL_TEMP 51 /* R */ #define SENSORS_LM90_LOCAL_HIGH 52 /* RW */ diff --git a/prog/sensors/main.c b/prog/sensors/main.c index 1944b752..9fd9a52e 100644 --- a/prog/sensors/main.c +++ b/prog/sensors/main.c @@ -407,6 +407,7 @@ struct match matches[] = { { "lm86", print_lm90 }, { "max6657", print_lm90 }, { "adt7461", print_lm90 }, + { "max6680", print_lm90 }, { "lm63", print_lm63 }, { "xeontemp", print_xeontemp }, { "max6650", print_max6650 },