From a38d8614a61e9f79976c9dc17dea384fbb0da6ed Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 12 Feb 2004 22:13:28 +0000 Subject: [PATCH] Fix vt1211 and vt8231 uch_config not being writable. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2288 7894878c-1315-0410-8ee3-d5d059ff63e0 --- lib/chips.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/chips.c b/lib/chips.c index 2be7f0f1..161b74e3 100644 --- a/lib/chips.c +++ b/lib/chips.c @@ -649,16 +649,16 @@ static sensors_chip_feature lm80_features[] = R, LM80_SYSCTL_TEMP, VALUE(5), 2 }, { SENSORS_LM80_TEMP_HOT_HYST, "temp_hot_hyst", SENSORS_LM80_TEMP, SENSORS_LM80_TEMP, RW, - LM80_SYSCTL_TEMP, VALUE(2), 2 }, + LM80_SYSCTL_TEMP, VALUE(2), 2, "temp_max1_hyst", 3 }, { SENSORS_LM80_TEMP_HOT_MAX, "temp_hot_max", SENSORS_LM80_TEMP, SENSORS_LM80_TEMP, RW, - LM80_SYSCTL_TEMP, VALUE(1), 2 }, + LM80_SYSCTL_TEMP, VALUE(1), 2, "temp_max1", 3 }, { SENSORS_LM80_TEMP_OS_HYST, "temp_os_hyst", SENSORS_LM80_TEMP, SENSORS_LM80_TEMP, RW, - LM80_SYSCTL_TEMP, VALUE(4), 2 }, + LM80_SYSCTL_TEMP, VALUE(4), 2, "temp_crit1_hyst", 3 }, { SENSORS_LM80_TEMP_OS_MAX, "temp_os_max", SENSORS_LM80_TEMP, SENSORS_LM80_TEMP, RW, - LM80_SYSCTL_TEMP, VALUE(3), 2 }, + LM80_SYSCTL_TEMP, VALUE(3), 2, "temp_crit1", 3 }, { SENSORS_LM80_FAN1_DIV, "fan1_div", SENSORS_LM80_FAN1, NOMAP, RW, LM80_SYSCTL_FAN_DIV, VALUE(1), 0 }, @@ -4240,7 +4240,7 @@ static sensors_chip_feature vt1211_features[] = { SENSORS_VT1211_VRM, "vrm", NOMAP, NOMAP, RW, VT1211_SYSCTL_VRM, VALUE(1), 1 }, { SENSORS_VT1211_UCH, "config", NOMAP, NOMAP, - R, VT1211_SYSCTL_UCH, VALUE(1), 0 }, + RW, VT1211_SYSCTL_UCH, VALUE(1), 0 }, { 0 } }; @@ -4425,7 +4425,7 @@ static sensors_chip_feature vt8231_features[] = { SENSORS_VT8231_VRM, "vrm", NOMAP, NOMAP, RW, VT8231_SYSCTL_VRM, VALUE(1), 1 }, { SENSORS_VT8231_UCH, "config", NOMAP, NOMAP, - R, VT8231_SYSCTL_UCH, VALUE(1), 0 }, + RW, VT8231_SYSCTL_UCH, VALUE(1), 0 }, { 0 } };