mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 13:57:41 +00:00
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
This commit is contained in:
12
lib/chips.c
12
lib/chips.c
@@ -649,16 +649,16 @@ static sensors_chip_feature lm80_features[] =
|
|||||||
R, LM80_SYSCTL_TEMP, VALUE(5), 2 },
|
R, LM80_SYSCTL_TEMP, VALUE(5), 2 },
|
||||||
{ SENSORS_LM80_TEMP_HOT_HYST, "temp_hot_hyst", SENSORS_LM80_TEMP,
|
{ SENSORS_LM80_TEMP_HOT_HYST, "temp_hot_hyst", SENSORS_LM80_TEMP,
|
||||||
SENSORS_LM80_TEMP, RW,
|
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_HOT_MAX, "temp_hot_max", SENSORS_LM80_TEMP,
|
||||||
SENSORS_LM80_TEMP, RW,
|
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_OS_HYST, "temp_os_hyst", SENSORS_LM80_TEMP,
|
||||||
SENSORS_LM80_TEMP, RW,
|
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_OS_MAX, "temp_os_max", SENSORS_LM80_TEMP,
|
||||||
SENSORS_LM80_TEMP, RW,
|
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,
|
{ SENSORS_LM80_FAN1_DIV, "fan1_div", SENSORS_LM80_FAN1, NOMAP,
|
||||||
RW, LM80_SYSCTL_FAN_DIV, VALUE(1),
|
RW, LM80_SYSCTL_FAN_DIV, VALUE(1),
|
||||||
0 },
|
0 },
|
||||||
@@ -4240,7 +4240,7 @@ static sensors_chip_feature vt1211_features[] =
|
|||||||
{ SENSORS_VT1211_VRM, "vrm", NOMAP, NOMAP,
|
{ SENSORS_VT1211_VRM, "vrm", NOMAP, NOMAP,
|
||||||
RW, VT1211_SYSCTL_VRM, VALUE(1), 1 },
|
RW, VT1211_SYSCTL_VRM, VALUE(1), 1 },
|
||||||
{ SENSORS_VT1211_UCH, "config", NOMAP, NOMAP,
|
{ SENSORS_VT1211_UCH, "config", NOMAP, NOMAP,
|
||||||
R, VT1211_SYSCTL_UCH, VALUE(1), 0 },
|
RW, VT1211_SYSCTL_UCH, VALUE(1), 0 },
|
||||||
{ 0 }
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -4425,7 +4425,7 @@ static sensors_chip_feature vt8231_features[] =
|
|||||||
{ SENSORS_VT8231_VRM, "vrm", NOMAP, NOMAP,
|
{ SENSORS_VT8231_VRM, "vrm", NOMAP, NOMAP,
|
||||||
RW, VT8231_SYSCTL_VRM, VALUE(1), 1 },
|
RW, VT8231_SYSCTL_VRM, VALUE(1), 1 },
|
||||||
{ SENSORS_VT8231_UCH, "config", NOMAP, NOMAP,
|
{ SENSORS_VT8231_UCH, "config", NOMAP, NOMAP,
|
||||||
R, VT8231_SYSCTL_UCH, VALUE(1), 0 },
|
RW, VT8231_SYSCTL_UCH, VALUE(1), 0 },
|
||||||
{ 0 }
|
{ 0 }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user