mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-18 19:30:54 +00:00
Change the way the lm90 driver handles hysteresis. Now similar
to the 2.6 version of the driver. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2210 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
5daa5b3430
commit
bf8d5f1305
4 files changed
+61
-41
No files matched your search
+6
-3
@@ -727,9 +727,12 @@ static sensors_chip_feature lm90_features[] =
|
||||
{ SENSORS_LM90_REMOTE_TCRIT, "tcrit2",
|
||||
SENSORS_LM90_REMOTE_TEMP, SENSORS_LM90_REMOTE_TEMP,
|
||||
RW, LM90_SYSCTL_REMOTE_TCRIT, VALUE(1), 0 },
|
||||
{ SENSORS_LM90_TCRIT_HYST, "hyst",
|
||||
NOMAP, NOMAP,
|
||||
RW, LM90_SYSCTL_HYST, VALUE(1), 0, "temp_hyst2", 3 },
|
||||
{ SENSORS_LM90_LOCAL_TCRIT_HYST, "hyst1",
|
||||
SENSORS_LM90_LOCAL_TCRIT, SENSORS_LM90_LOCAL_TCRIT,
|
||||
RW, LM90_SYSCTL_LOCAL_HYST, VALUE(1), 0 },
|
||||
{ SENSORS_LM90_REMOTE_TCRIT_HYST, "hyst2",
|
||||
SENSORS_LM90_REMOTE_TCRIT, SENSORS_LM90_REMOTE_TCRIT,
|
||||
R, LM90_SYSCTL_REMOTE_HYST, VALUE(1), 0 },
|
||||
{ SENSORS_LM90_ALARMS, "alarms",
|
||||
NOMAP, NOMAP,
|
||||
R, LM90_SYSCTL_ALARMS, VALUE(1), 0 },
|
||||
|
||||
+2
-1
@@ -456,7 +456,8 @@
|
||||
#define SENSORS_LM90_REMOTE_HIGH 58 /* RW */
|
||||
#define SENSORS_LM90_REMOTE_LOW 59 /* RW */
|
||||
#define SENSORS_LM90_REMOTE_TCRIT 60 /* RW */
|
||||
#define SENSORS_LM90_TCRIT_HYST 79 /* RW */
|
||||
#define SENSORS_LM90_LOCAL_TCRIT_HYST 79 /* RW */
|
||||
#define SENSORS_LM90_REMOTE_TCRIT_HYST 80 /* R, see driver source */
|
||||
#define SENSORS_LM90_ALARMS 81 /* R */
|
||||
|
||||
/* Winbond W83781D chips */
|
||||
|
||||
Reference in new issue
Block a user