mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 13:57:41 +00:00
ADM1025: rename _hyst and _over to _low and _high;
swap temp1 and temp2 to match the driver's order git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1917 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
24
lib/chips.c
24
lib/chips.c
@@ -2084,21 +2084,21 @@ static sensors_chip_feature adm1025_features[] =
|
||||
SENSORS_ADM1025_IN5, SENSORS_MODE_RW,
|
||||
ADM1025_SYSCTL_IN5, VALUE(2), 2 },
|
||||
{ SENSORS_ADM1025_TEMP1, "temp1", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
SENSORS_MODE_R, ADM1025_SYSCTL_TEMP, VALUE(3), 1 },
|
||||
{ SENSORS_ADM1025_TEMP1_HYST, "temp1_hyst", SENSORS_ADM1025_TEMP1,
|
||||
SENSORS_ADM1025_TEMP1, SENSORS_MODE_RW,
|
||||
ADM1025_SYSCTL_TEMP, VALUE(2), 1 },
|
||||
{ SENSORS_ADM1025_TEMP1_OVER, "temp1_over", SENSORS_ADM1025_TEMP1,
|
||||
SENSORS_ADM1025_TEMP1, SENSORS_MODE_RW,
|
||||
ADM1025_SYSCTL_TEMP, VALUE(1), 1 },
|
||||
{ SENSORS_ADM1025_TEMP2, "temp2", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
SENSORS_MODE_R, ADM1025_SYSCTL_RTEMP, VALUE(3), 1 },
|
||||
{ SENSORS_ADM1025_TEMP2_HYST, "temp2_hyst", SENSORS_ADM1025_TEMP2,
|
||||
SENSORS_ADM1025_TEMP2, SENSORS_MODE_RW,
|
||||
{ SENSORS_ADM1025_TEMP1_LOW, "temp1_low", SENSORS_ADM1025_TEMP1,
|
||||
SENSORS_ADM1025_TEMP1, SENSORS_MODE_RW,
|
||||
ADM1025_SYSCTL_RTEMP, VALUE(2), 1 },
|
||||
{ SENSORS_ADM1025_TEMP2_OVER, "temp2_over", SENSORS_ADM1025_TEMP2,
|
||||
SENSORS_ADM1025_TEMP2, SENSORS_MODE_RW,
|
||||
{ SENSORS_ADM1025_TEMP1_HIGH, "temp1_high", SENSORS_ADM1025_TEMP1,
|
||||
SENSORS_ADM1025_TEMP1, SENSORS_MODE_RW,
|
||||
ADM1025_SYSCTL_RTEMP, VALUE(1), 1 },
|
||||
{ SENSORS_ADM1025_TEMP2, "temp2", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
SENSORS_MODE_R, ADM1025_SYSCTL_TEMP, VALUE(3), 1 },
|
||||
{ SENSORS_ADM1025_TEMP2_LOW, "temp2_low", SENSORS_ADM1025_TEMP2,
|
||||
SENSORS_ADM1025_TEMP2, SENSORS_MODE_RW,
|
||||
ADM1025_SYSCTL_TEMP, VALUE(2), 1 },
|
||||
{ SENSORS_ADM1025_TEMP2_HIGH, "temp2_high", SENSORS_ADM1025_TEMP2,
|
||||
SENSORS_ADM1025_TEMP2, SENSORS_MODE_RW,
|
||||
ADM1025_SYSCTL_TEMP, VALUE(1), 1 },
|
||||
{ SENSORS_ADM1025_VID, "vid", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
SENSORS_MODE_R, ADM1025_SYSCTL_VID, VALUE(1), 3 },
|
||||
{ SENSORS_ADM1025_VRM, "vrm", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
|
@@ -958,11 +958,11 @@
|
||||
#define SENSORS_ADM1025_IN4_MAX 25 /* RW */
|
||||
#define SENSORS_ADM1025_IN5_MAX 26 /* RW */
|
||||
#define SENSORS_ADM1025_TEMP1 51 /* R */
|
||||
#define SENSORS_ADM1025_TEMP1_HYST 52 /* RW */
|
||||
#define SENSORS_ADM1025_TEMP1_OVER 53 /* RW */
|
||||
#define SENSORS_ADM1025_TEMP1_LOW 52 /* RW */
|
||||
#define SENSORS_ADM1025_TEMP1_HIGH 53 /* RW */
|
||||
#define SENSORS_ADM1025_TEMP2 54 /* R */
|
||||
#define SENSORS_ADM1025_TEMP2_HYST 55 /* RW */
|
||||
#define SENSORS_ADM1025_TEMP2_OVER 56 /* RW */
|
||||
#define SENSORS_ADM1025_TEMP2_LOW 55 /* RW */
|
||||
#define SENSORS_ADM1025_TEMP2_HIGH 56 /* RW */
|
||||
#define SENSORS_ADM1025_VID 61 /* R */
|
||||
#define SENSORS_ADM1025_VRM 62 /* R */
|
||||
#define SENSORS_ADM1025_ALARMS 81 /* R */
|
||||
|
Reference in New Issue
Block a user