From 3d08e7b62535ca7a410f951a84ebaa5aa551e443 Mon Sep 17 00:00:00 2001 From: "Mark M. Hoffman" Date: Wed, 8 Sep 2004 15:04:59 +0000 Subject: [PATCH] Add missing ALARMS support for LM93 to libsensors. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2683 7894878c-1315-0410-8ee3-d5d059ff63e0 --- lib/chips.c | 3 +++ lib/chips.h | 5 +---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/chips.c b/lib/chips.c index 7f971a6a..914df0ab 100644 --- a/lib/chips.c +++ b/lib/chips.c @@ -1162,6 +1162,9 @@ static sensors_chip_feature lm93_features[] = { SENSORS_LM93_TEMP_MIN_MAX(3), SENSORS_LM93_VID(1), SENSORS_LM93_VID(2), + { SENSORS_LM93_ALARMS, "alarms", NOMAP, + NOMAP, R, + LM93_SYSCTL_ALARMS, VALUE(1), 0 }, { 0 } }; diff --git a/lib/chips.h b/lib/chips.h index baa279a2..29c76b6e 100644 --- a/lib/chips.h +++ b/lib/chips.h @@ -1885,7 +1885,6 @@ #define SENSORS_LM93_IN16 1161 #define SENSORS_LM93_IN16_MIN 1162 #define SENSORS_LM93_IN16_MAX 1163 - #define SENSORS_LM93_TEMP1 2011 #define SENSORS_LM93_TEMP1_MIN 2012 #define SENSORS_LM93_TEMP1_MAX 2013 @@ -1895,7 +1894,6 @@ #define SENSORS_LM93_TEMP3 2031 #define SENSORS_LM93_TEMP3_MIN 2032 #define SENSORS_LM93_TEMP3_MAX 2033 - #define SENSORS_LM93_FAN1 3011 #define SENSORS_LM93_FAN1_MIN 3012 #define SENSORS_LM93_FAN2 3021 @@ -1904,10 +1902,9 @@ #define SENSORS_LM93_FAN3_MIN 3032 #define SENSORS_LM93_FAN4 3041 #define SENSORS_LM93_FAN4_MIN 3042 - #define SENSORS_LM93_VID1 4001 #define SENSORS_LM93_VID2 4002 - +#define SENSORS_LM93_ALARMS 5001 #define SENSORS_ASB100_PREFIX "asb100"