mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-06 15:51:34 +00:00
emc6d100 patch from P.P.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1859 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
cb87834e01
commit
1fa79086db
5 files changed
+280
-108
No files matched your search
+19
@@ -2772,6 +2772,12 @@ static sensors_chip_feature lm85_features[] =
|
||||
SENSORS_MODE_R, LM85_SYSCTL_IN3, VALUE(3), 3 },
|
||||
{ SENSORS_LM85_IN4, "in4", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
SENSORS_MODE_R, LM85_SYSCTL_IN4, VALUE(3), 3 },
|
||||
{ SENSORS_LM85_IN5, "in5", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
SENSORS_MODE_R, EMC6D100_SYSCTL_IN5, VALUE(3), 3 },
|
||||
{ SENSORS_LM85_IN6, "in6", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
SENSORS_MODE_R, EMC6D100_SYSCTL_IN6, VALUE(3), 3 },
|
||||
{ SENSORS_LM85_IN7, "in7", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
SENSORS_MODE_R, EMC6D100_SYSCTL_IN7, VALUE(3), 3 },
|
||||
{ SENSORS_LM85_IN0_MIN, "in0_min", SENSORS_LM85_IN0, SENSORS_LM85_IN0,
|
||||
SENSORS_MODE_RW, LM85_SYSCTL_IN0, VALUE(1), 3 },
|
||||
{ SENSORS_LM85_IN1_MIN, "in1_min", SENSORS_LM85_IN1, SENSORS_LM85_IN1,
|
||||
@@ -2782,6 +2788,12 @@ static sensors_chip_feature lm85_features[] =
|
||||
SENSORS_MODE_RW, LM85_SYSCTL_IN3, VALUE(1), 3 },
|
||||
{ SENSORS_LM85_IN4_MIN, "in4_min", SENSORS_LM85_IN4, SENSORS_LM85_IN4,
|
||||
SENSORS_MODE_RW, LM85_SYSCTL_IN4, VALUE(1), 3 },
|
||||
{ SENSORS_LM85_IN5_MIN, "in5_min", SENSORS_LM85_IN5, SENSORS_LM85_IN5,
|
||||
SENSORS_MODE_RW, EMC6D100_SYSCTL_IN5, VALUE(1), 3 },
|
||||
{ SENSORS_LM85_IN6_MIN, "in6_min", SENSORS_LM85_IN6, SENSORS_LM85_IN6,
|
||||
SENSORS_MODE_RW, EMC6D100_SYSCTL_IN6, VALUE(1), 3 },
|
||||
{ SENSORS_LM85_IN7_MIN, "in7_min", SENSORS_LM85_IN7, SENSORS_LM85_IN7,
|
||||
SENSORS_MODE_RW, EMC6D100_SYSCTL_IN7, VALUE(1), 3 },
|
||||
{ SENSORS_LM85_IN0_MAX, "in0_max", SENSORS_LM85_IN0, SENSORS_LM85_IN0,
|
||||
SENSORS_MODE_RW, LM85_SYSCTL_IN0, VALUE(2), 3 },
|
||||
{ SENSORS_LM85_IN1_MAX, "in1_max", SENSORS_LM85_IN1, SENSORS_LM85_IN1,
|
||||
@@ -2792,6 +2804,12 @@ static sensors_chip_feature lm85_features[] =
|
||||
SENSORS_MODE_RW, LM85_SYSCTL_IN3, VALUE(2), 3 },
|
||||
{ SENSORS_LM85_IN4_MAX, "in4_max", SENSORS_LM85_IN4, SENSORS_LM85_IN4,
|
||||
SENSORS_MODE_RW, LM85_SYSCTL_IN4, VALUE(2), 3 },
|
||||
{ SENSORS_LM85_IN5_MAX, "in5_max", SENSORS_LM85_IN5, SENSORS_LM85_IN5,
|
||||
SENSORS_MODE_RW, EMC6D100_SYSCTL_IN5, VALUE(2), 3 },
|
||||
{ SENSORS_LM85_IN6_MAX, "in6_max", SENSORS_LM85_IN6, SENSORS_LM85_IN6,
|
||||
SENSORS_MODE_RW, EMC6D100_SYSCTL_IN6, VALUE(2), 3 },
|
||||
{ SENSORS_LM85_IN7_MAX, "in7_max", SENSORS_LM85_IN7, SENSORS_LM85_IN7,
|
||||
SENSORS_MODE_RW, EMC6D100_SYSCTL_IN7, VALUE(2), 3 },
|
||||
{ SENSORS_LM85_FAN1, "fan1", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
SENSORS_MODE_R, LM85_SYSCTL_FAN1, VALUE(2), 0 },
|
||||
{ SENSORS_LM85_FAN2, "fan2", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING,
|
||||
@@ -4328,6 +4346,7 @@ sensors_chip_features sensors_chip_features_list[] =
|
||||
{ SENSORS_LM85_PREFIX, lm85_features },
|
||||
{ SENSORS_LM85B_PREFIX, lm85_features },
|
||||
{ SENSORS_LM85C_PREFIX, lm85_features },
|
||||
{ SENSORS_EMC6D100_PREFIX, lm85_features },
|
||||
{ SENSORS_ADM1027_PREFIX, adm1027_features },
|
||||
{ SENSORS_ADT7463_PREFIX, adm1027_features },
|
||||
{ SENSORS_LM83_PREFIX, lm83_features },
|
||||
|
||||
+86
-76
@@ -337,6 +337,7 @@
|
||||
#define SENSORS_LM85C_PREFIX "lm85c"
|
||||
#define SENSORS_ADM1027_PREFIX "adm1027"
|
||||
#define SENSORS_ADT7463_PREFIX "adt7463"
|
||||
#define SENSORS_EMC6D100_PREFIX "emc6d100"
|
||||
|
||||
#define SENSORS_ADM1027_ALARM_MASK 1 /* RW -- alarm_mask */
|
||||
#define SENSORS_ADM1027_FAN1_PPR 2 /* RW -- fan1_ppr */
|
||||
@@ -354,82 +355,91 @@
|
||||
#define SENSORS_ADM1027_TEMP2_OFFSET 14 /* RW -- temp2_offset */
|
||||
#define SENSORS_ADM1027_TEMP3_OFFSET 15 /* RW -- temp3_offset */
|
||||
#define SENSORS_LM85_ALARMS 16 /* R -- alarms */
|
||||
#define SENSORS_LM85_FAN1 17 /* R -- fan1 */
|
||||
#define SENSORS_LM85_FAN1_MIN 18 /* RW -- fan1_min */
|
||||
#define SENSORS_LM85_FAN1_TACH_MODE 19 /* RW -- fan1_tach_mode */
|
||||
#define SENSORS_LM85_FAN2 20 /* R -- fan2 */
|
||||
#define SENSORS_LM85_FAN2_MIN 21 /* RW -- fan2_min */
|
||||
#define SENSORS_LM85_FAN2_TACH_MODE 22 /* RW -- fan2_tach_mode */
|
||||
#define SENSORS_LM85_FAN3 23 /* R -- fan3 */
|
||||
#define SENSORS_LM85_FAN3_MIN 24 /* RW -- fan3_min */
|
||||
#define SENSORS_LM85_FAN3_TACH_MODE 25 /* RW -- fan3_tach_mode */
|
||||
#define SENSORS_LM85_FAN4 26 /* R -- fan4 */
|
||||
#define SENSORS_LM85_FAN4_MIN 27 /* RW -- fan4_min */
|
||||
#define SENSORS_LM85_IN0 28 /* R -- in0 */
|
||||
#define SENSORS_LM85_IN0_MAX 29 /* RW -- in0_max */
|
||||
#define SENSORS_LM85_IN0_MIN 30 /* RW -- in0_min */
|
||||
#define SENSORS_LM85_IN1 31 /* R -- in1 */
|
||||
#define SENSORS_LM85_IN1_MAX 32 /* RW -- in1_max */
|
||||
#define SENSORS_LM85_IN1_MIN 33 /* RW -- in1_min */
|
||||
#define SENSORS_LM85_IN2 34 /* R -- in2 */
|
||||
#define SENSORS_LM85_IN2_MAX 35 /* RW -- in2_max */
|
||||
#define SENSORS_LM85_IN2_MIN 36 /* RW -- in2_min */
|
||||
#define SENSORS_LM85_IN3 37 /* R -- in3 */
|
||||
#define SENSORS_LM85_IN3_MAX 38 /* RW -- in3_max */
|
||||
#define SENSORS_LM85_IN3_MIN 39 /* RW -- in3_min */
|
||||
#define SENSORS_LM85_IN4 40 /* R -- in4 */
|
||||
#define SENSORS_LM85_IN4_MAX 41 /* RW -- in4_max */
|
||||
#define SENSORS_LM85_IN4_MIN 42 /* RW -- in4_min */
|
||||
#define SENSORS_LM85_PWM1 43 /* RW -- pwm1 */
|
||||
#define SENSORS_LM85_PWM1_FREQ 44 /* RW -- pwm1_freq */
|
||||
#define SENSORS_LM85_PWM1_INVERT 45 /* RW -- pwm1_invert */
|
||||
#define SENSORS_LM85_PWM1_MIN 46 /* RW -- pwm1_min */
|
||||
#define SENSORS_LM85_PWM1_MIN_CTL 47 /* RW -- pwm1_min_ctl */
|
||||
#define SENSORS_LM85_PWM1_SPINUP 48 /* RW -- pwm1_spinup */
|
||||
#define SENSORS_LM85_PWM1_SPINUP_CTL 49 /* RW -- pwm1_spinup_ctl */
|
||||
#define SENSORS_LM85_PWM1_ZONE 50 /* RW -- pwm1_zone */
|
||||
#define SENSORS_LM85_PWM2 51 /* RW -- pwm2 */
|
||||
#define SENSORS_LM85_PWM2_FREQ 52 /* RW -- pwm2_freq */
|
||||
#define SENSORS_LM85_PWM2_INVERT 53 /* RW -- pwm2_invert */
|
||||
#define SENSORS_LM85_PWM2_MIN 54 /* RW -- pwm2_min */
|
||||
#define SENSORS_LM85_PWM2_MIN_CTL 55 /* RW -- pwm2_min_ctl */
|
||||
#define SENSORS_LM85_PWM2_SPINUP 56 /* RW -- pwm2_spinup */
|
||||
#define SENSORS_LM85_PWM2_SPINUP_CTL 57 /* RW -- pwm2_spinup_ctl */
|
||||
#define SENSORS_LM85_PWM2_ZONE 58 /* RW -- pwm2_zone */
|
||||
#define SENSORS_LM85_PWM3 59 /* RW -- pwm3 */
|
||||
#define SENSORS_LM85_PWM3_FREQ 60 /* RW -- pwm3_freq */
|
||||
#define SENSORS_LM85_PWM3_INVERT 61 /* RW -- pwm3_invert */
|
||||
#define SENSORS_LM85_PWM3_MIN 62 /* RW -- pwm3_min */
|
||||
#define SENSORS_LM85_PWM3_MIN_CTL 63 /* RW -- pwm3_min_ctl */
|
||||
#define SENSORS_LM85_PWM3_SPINUP 64 /* RW -- pwm3_spinup */
|
||||
#define SENSORS_LM85_PWM3_SPINUP_CTL 65 /* RW -- pwm3_spinup_ctl */
|
||||
#define SENSORS_LM85_PWM3_ZONE 66 /* RW -- pwm3_zone */
|
||||
#define SENSORS_LM85_TEMP1 67 /* R -- temp1 */
|
||||
#define SENSORS_LM85_TEMP1_MAX 68 /* RW -- temp1_max */
|
||||
#define SENSORS_LM85_TEMP1_MIN 69 /* RW -- temp1_min */
|
||||
#define SENSORS_LM85_TEMP2 70 /* R -- temp2 */
|
||||
#define SENSORS_LM85_TEMP2_MAX 71 /* RW -- temp2_max */
|
||||
#define SENSORS_LM85_TEMP2_MIN 72 /* RW -- temp2_min */
|
||||
#define SENSORS_LM85_TEMP3 73 /* R -- temp3 */
|
||||
#define SENSORS_LM85_TEMP3_MAX 74 /* RW -- temp3_max */
|
||||
#define SENSORS_LM85_TEMP3_MIN 75 /* RW -- temp3_min */
|
||||
#define SENSORS_LM85_VID 76 /* R -- vid */
|
||||
#define SENSORS_LM85_VRM 77 /* RW -- vrm */
|
||||
#define SENSORS_LM85_ZONE1_CRITICAL 78 /* RW -- zone1_critical */
|
||||
#define SENSORS_LM85_ZONE1_HYST 79 /* RW -- zone1_hyst */
|
||||
#define SENSORS_LM85_ZONE1_LIMIT 80 /* RW -- zone1_limit */
|
||||
#define SENSORS_LM85_ZONE1_RANGE 81 /* RW -- zone1_range */
|
||||
#define SENSORS_LM85_ZONE1_SMOOTH 82 /* RW -- zone1_smooth */
|
||||
#define SENSORS_LM85_ZONE2_CRITICAL 83 /* RW -- zone2_critical */
|
||||
#define SENSORS_LM85_ZONE2_HYST 84 /* RW -- zone2_hyst */
|
||||
#define SENSORS_LM85_ZONE2_LIMIT 85 /* RW -- zone2_limit */
|
||||
#define SENSORS_LM85_ZONE2_RANGE 86 /* RW -- zone2_range */
|
||||
#define SENSORS_LM85_ZONE2_SMOOTH 87 /* RW -- zone2_smooth */
|
||||
#define SENSORS_LM85_ZONE3_CRITICAL 88 /* RW -- zone3_critical */
|
||||
#define SENSORS_LM85_ZONE3_HYST 89 /* RW -- zone3_hyst */
|
||||
#define SENSORS_LM85_ZONE3_LIMIT 90 /* RW -- zone3_limit */
|
||||
#define SENSORS_LM85_ZONE3_RANGE 91 /* RW -- zone3_range */
|
||||
#define SENSORS_LM85_ZONE3_SMOOTH 92 /* RW -- zone3_smooth */
|
||||
#define SENSORS_LM85_VID 17 /* R -- vid */
|
||||
#define SENSORS_LM85_VRM 18 /* RW -- vrm */
|
||||
#define SENSORS_LM85_FAN1 19 /* R -- fan1 */
|
||||
#define SENSORS_LM85_FAN1_MIN 20 /* RW -- fan1_min */
|
||||
#define SENSORS_LM85_FAN1_TACH_MODE 21 /* RW -- fan1_tach_mode */
|
||||
#define SENSORS_LM85_FAN2 22 /* R -- fan2 */
|
||||
#define SENSORS_LM85_FAN2_MIN 23 /* RW -- fan2_min */
|
||||
#define SENSORS_LM85_FAN2_TACH_MODE 24 /* RW -- fan2_tach_mode */
|
||||
#define SENSORS_LM85_FAN3 25 /* R -- fan3 */
|
||||
#define SENSORS_LM85_FAN3_MIN 26 /* RW -- fan3_min */
|
||||
#define SENSORS_LM85_FAN3_TACH_MODE 27 /* RW -- fan3_tach_mode */
|
||||
#define SENSORS_LM85_FAN4 28 /* R -- fan4 */
|
||||
#define SENSORS_LM85_FAN4_MIN 29 /* RW -- fan4_min */
|
||||
#define SENSORS_LM85_IN0 30 /* R -- in0 */
|
||||
#define SENSORS_LM85_IN0_MAX 31 /* RW -- in0_max */
|
||||
#define SENSORS_LM85_IN0_MIN 32 /* RW -- in0_min */
|
||||
#define SENSORS_LM85_IN1 33 /* R -- in1 */
|
||||
#define SENSORS_LM85_IN1_MAX 34 /* RW -- in1_max */
|
||||
#define SENSORS_LM85_IN1_MIN 35 /* RW -- in1_min */
|
||||
#define SENSORS_LM85_IN2 36 /* R -- in2 */
|
||||
#define SENSORS_LM85_IN2_MAX 37 /* RW -- in2_max */
|
||||
#define SENSORS_LM85_IN2_MIN 38 /* RW -- in2_min */
|
||||
#define SENSORS_LM85_IN3 39 /* R -- in3 */
|
||||
#define SENSORS_LM85_IN3_MAX 40 /* RW -- in3_max */
|
||||
#define SENSORS_LM85_IN3_MIN 41 /* RW -- in3_min */
|
||||
#define SENSORS_LM85_IN4 42 /* R -- in4 */
|
||||
#define SENSORS_LM85_IN4_MAX 43 /* RW -- in4_max */
|
||||
#define SENSORS_LM85_IN4_MIN 44 /* RW -- in4_min */
|
||||
#define SENSORS_LM85_IN5 45 /* R -- in5 */
|
||||
#define SENSORS_LM85_IN5_MAX 46 /* RW -- in5_max */
|
||||
#define SENSORS_LM85_IN5_MIN 47 /* RW -- in5_min */
|
||||
#define SENSORS_LM85_IN6 48 /* R -- in6 */
|
||||
#define SENSORS_LM85_IN6_MAX 49 /* RW -- in6_max */
|
||||
#define SENSORS_LM85_IN6_MIN 50 /* RW -- in6_min */
|
||||
#define SENSORS_LM85_IN7 51 /* R -- in7 */
|
||||
#define SENSORS_LM85_IN7_MAX 52 /* RW -- in7_max */
|
||||
#define SENSORS_LM85_IN7_MIN 53 /* RW -- in7_min */
|
||||
#define SENSORS_LM85_PWM1 54 /* RW -- pwm1 */
|
||||
#define SENSORS_LM85_PWM1_FREQ 55 /* RW -- pwm1_freq */
|
||||
#define SENSORS_LM85_PWM1_INVERT 56 /* RW -- pwm1_invert */
|
||||
#define SENSORS_LM85_PWM1_MIN 57 /* RW -- pwm1_min */
|
||||
#define SENSORS_LM85_PWM1_MIN_CTL 58 /* RW -- pwm1_min_ctl */
|
||||
#define SENSORS_LM85_PWM1_SPINUP 59 /* RW -- pwm1_spinup */
|
||||
#define SENSORS_LM85_PWM1_SPINUP_CTL 60 /* RW -- pwm1_spinup_ctl */
|
||||
#define SENSORS_LM85_PWM1_ZONE 61 /* RW -- pwm1_zone */
|
||||
#define SENSORS_LM85_PWM2 62 /* RW -- pwm2 */
|
||||
#define SENSORS_LM85_PWM2_FREQ 63 /* RW -- pwm2_freq */
|
||||
#define SENSORS_LM85_PWM2_INVERT 64 /* RW -- pwm2_invert */
|
||||
#define SENSORS_LM85_PWM2_MIN 65 /* RW -- pwm2_min */
|
||||
#define SENSORS_LM85_PWM2_MIN_CTL 66 /* RW -- pwm2_min_ctl */
|
||||
#define SENSORS_LM85_PWM2_SPINUP 67 /* RW -- pwm2_spinup */
|
||||
#define SENSORS_LM85_PWM2_SPINUP_CTL 68 /* RW -- pwm2_spinup_ctl */
|
||||
#define SENSORS_LM85_PWM2_ZONE 69 /* RW -- pwm2_zone */
|
||||
#define SENSORS_LM85_PWM3 70 /* RW -- pwm3 */
|
||||
#define SENSORS_LM85_PWM3_FREQ 71 /* RW -- pwm3_freq */
|
||||
#define SENSORS_LM85_PWM3_INVERT 72 /* RW -- pwm3_invert */
|
||||
#define SENSORS_LM85_PWM3_MIN 73 /* RW -- pwm3_min */
|
||||
#define SENSORS_LM85_PWM3_MIN_CTL 74 /* RW -- pwm3_min_ctl */
|
||||
#define SENSORS_LM85_PWM3_SPINUP 75 /* RW -- pwm3_spinup */
|
||||
#define SENSORS_LM85_PWM3_SPINUP_CTL 76 /* RW -- pwm3_spinup_ctl */
|
||||
#define SENSORS_LM85_PWM3_ZONE 77 /* RW -- pwm3_zone */
|
||||
#define SENSORS_LM85_TEMP1 78 /* R -- temp1 */
|
||||
#define SENSORS_LM85_TEMP1_MAX 79 /* RW -- temp1_max */
|
||||
#define SENSORS_LM85_TEMP1_MIN 80 /* RW -- temp1_min */
|
||||
#define SENSORS_LM85_TEMP2 81 /* R -- temp2 */
|
||||
#define SENSORS_LM85_TEMP2_MAX 82 /* RW -- temp2_max */
|
||||
#define SENSORS_LM85_TEMP2_MIN 83 /* RW -- temp2_min */
|
||||
#define SENSORS_LM85_TEMP3 84 /* R -- temp3 */
|
||||
#define SENSORS_LM85_TEMP3_MAX 85 /* RW -- temp3_max */
|
||||
#define SENSORS_LM85_TEMP3_MIN 86 /* RW -- temp3_min */
|
||||
#define SENSORS_LM85_ZONE1_CRITICAL 87 /* RW -- zone1_critical */
|
||||
#define SENSORS_LM85_ZONE1_HYST 88 /* RW -- zone1_hyst */
|
||||
#define SENSORS_LM85_ZONE1_LIMIT 89 /* RW -- zone1_limit */
|
||||
#define SENSORS_LM85_ZONE1_RANGE 90 /* RW -- zone1_range */
|
||||
#define SENSORS_LM85_ZONE1_SMOOTH 91 /* RW -- zone1_smooth */
|
||||
#define SENSORS_LM85_ZONE2_CRITICAL 92 /* RW -- zone2_critical */
|
||||
#define SENSORS_LM85_ZONE2_HYST 93 /* RW -- zone2_hyst */
|
||||
#define SENSORS_LM85_ZONE2_LIMIT 94 /* RW -- zone2_limit */
|
||||
#define SENSORS_LM85_ZONE2_RANGE 95 /* RW -- zone2_range */
|
||||
#define SENSORS_LM85_ZONE2_SMOOTH 96 /* RW -- zone2_smooth */
|
||||
#define SENSORS_LM85_ZONE3_CRITICAL 97 /* RW -- zone3_critical */
|
||||
#define SENSORS_LM85_ZONE3_HYST 98 /* RW -- zone3_hyst */
|
||||
#define SENSORS_LM85_ZONE3_LIMIT 99 /* RW -- zone3_limit */
|
||||
#define SENSORS_LM85_ZONE3_RANGE 100 /* RW -- zone3_range */
|
||||
#define SENSORS_LM85_ZONE3_SMOOTH 101 /* RW -- zone3_smooth */
|
||||
|
||||
/* Winbond W83781D chips */
|
||||
|
||||
|
||||
Reference in new issue
Block a user