sensord: Fix f71805f fans. Cleanup pc87427 fans.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4809 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-09-19 11:44:30 +00:00
1 parent 94b1dae3d1
commit e75c3e60ab
2 files changed
+15 -14

No files matched your search

+1
View File
@@ -18,6 +18,7 @@ SVN HEAD
Module fscher: Add missing read of control register (2.6 backport)
Module i2c-piix4: Add ATI SB700 and SB800 support (2.6 backport)
Module lm93: Fix an array overrun (2.6 backport)
Program sensord: Fix f71805f fans
Program sensors: Fix a memory leak on error (with -u)
Add sch311x support
Hide error on missing dme1737 fan and pwm
+14 -14
View File
@@ -1106,21 +1106,21 @@ static const char *pc87427_names[] = {
static const FeatureDescriptor pc87427_features[] = {
{ fmtFans_nodiv_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_PC87427_FAN(1), SENSORS_PC87427_FAN_MIN(1), -1, -1 } },
{ SENSORS_PC87427_FAN(1), SENSORS_PC87427_FAN_MIN(1), -1 } },
{ fmtFans_nodiv_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_PC87427_FAN(2), SENSORS_PC87427_FAN_MIN(2), -1, -1 } },
{ SENSORS_PC87427_FAN(2), SENSORS_PC87427_FAN_MIN(2), -1 } },
{ fmtFans_nodiv_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_PC87427_FAN(3), SENSORS_PC87427_FAN_MIN(3), -1, -1 } },
{ SENSORS_PC87427_FAN(3), SENSORS_PC87427_FAN_MIN(3), -1 } },
{ fmtFans_nodiv_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_PC87427_FAN(4), SENSORS_PC87427_FAN_MIN(4), -1, -1 } },
{ SENSORS_PC87427_FAN(4), SENSORS_PC87427_FAN_MIN(4), -1 } },
{ fmtFans_nodiv_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_PC87427_FAN(5), SENSORS_PC87427_FAN_MIN(5), -1, -1 } },
{ SENSORS_PC87427_FAN(5), SENSORS_PC87427_FAN_MIN(5), -1 } },
{ fmtFans_nodiv_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_PC87427_FAN(6), SENSORS_PC87427_FAN_MIN(6), -1, -1 } },
{ SENSORS_PC87427_FAN(6), SENSORS_PC87427_FAN_MIN(6), -1 } },
{ fmtFans_nodiv_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_PC87427_FAN(7), SENSORS_PC87427_FAN_MIN(7), -1, -1 } },
{ SENSORS_PC87427_FAN(7), SENSORS_PC87427_FAN_MIN(7), -1 } },
{ fmtFans_nodiv_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_PC87427_FAN(8), SENSORS_PC87427_FAN_MIN(8), -1, -1 } },
{ SENSORS_PC87427_FAN(8), SENSORS_PC87427_FAN_MIN(8), -1 } },
{ NULL }
};
@@ -1203,12 +1203,12 @@ static const FeatureDescriptor f71805f_features[] = {
{ SENSORS_F71805F_IN(7), SENSORS_F71805F_IN_MIN(7), SENSORS_F71805F_IN_MAX(7), -1 } },
{ fmtVolts_2, rrdF3, DataType_voltage, 0, 0,
{ SENSORS_F71805F_IN(8), SENSORS_F71805F_IN_MIN(8), SENSORS_F71805F_IN_MAX(8), -1 } },
{ fmtFans_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_F71805F_FAN(1), SENSORS_F71805F_FAN_MIN(1), -1, -1 } },
{ fmtFans_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_F71805F_FAN(2), SENSORS_F71805F_FAN_MIN(2), -1, -1 } },
{ fmtFans_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_F71805F_FAN(3), SENSORS_F71805F_FAN_MIN(3), -1, -1 } },
{ fmtFans_nodiv_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_F71805F_FAN(1), SENSORS_F71805F_FAN_MIN(1), -1 } },
{ fmtFans_nodiv_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_F71805F_FAN(2), SENSORS_F71805F_FAN_MIN(2), -1 } },
{ fmtFans_nodiv_0, rrdF0, DataType_rpm, 0, 0,
{ SENSORS_F71805F_FAN(3), SENSORS_F71805F_FAN_MIN(3), -1 } },
{ fmtTemps_0, rrdF0, DataType_temperature, 1 << 0, 0,
{ SENSORS_F71805F_TEMP(1), SENSORS_F71805F_TEMP_MAX(1), SENSORS_F71805F_TEMP_HYST(1), -1 } },
{ fmtTemps_0, rrdF0, DataType_temperature, 1 << 1, 0,