(jrm): New driver and other support for the Maxim MAX6650 and MAX6651 chips.

Mainly targetted (and tested) with the 6651, but should work with
       the MAX6550.

       See doc/chips/max6650 for notes, bugs, assumptions, etc.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1987 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
John Morris committed 2003-08-31 20:45:12 +00:00
1 parent ebb1dc9a20
commit 45576fb3fd
11 files changed
+786 -2

No files matched your search

+20
View File
@@ -4443,6 +4443,25 @@ static sensors_chip_feature xeontemp_features[] =
{ 0 }
};
static sensors_chip_feature max6650_features[] =
{
{ SENSORS_MAX6650_FAN1_TACH, "fan1", SENSORS_NO_MAPPING,
SENSORS_NO_MAPPING, SENSORS_MODE_R,
MAX6650_SYSCTL_FAN1, VALUE(1), 0 },
{ SENSORS_MAX6650_FAN2_TACH, "fan2", SENSORS_NO_MAPPING,
SENSORS_NO_MAPPING, SENSORS_MODE_R,
MAX6650_SYSCTL_FAN2, VALUE(1), 0 },
{ SENSORS_MAX6650_FAN3_TACH, "fan3", SENSORS_NO_MAPPING,
SENSORS_NO_MAPPING, SENSORS_MODE_R,
MAX6650_SYSCTL_FAN3, VALUE(1), 0 },
{ SENSORS_MAX6650_FAN4_TACH, "fan4", SENSORS_NO_MAPPING,
SENSORS_NO_MAPPING, SENSORS_MODE_R,
MAX6650_SYSCTL_FAN4, VALUE(1), 0 },
{ SENSORS_MAX6650_SPEED, "speed", SENSORS_NO_MAPPING,
SENSORS_NO_MAPPING, SENSORS_MODE_RW,
MAX6650_SYSCTL_SPEED, VALUE(1), 0 },
};
sensors_chip_features sensors_chip_features_list[] =
{
{ SENSORS_LM78_PREFIX, lm78_features },
@@ -4511,5 +4530,6 @@ sensors_chip_features sensors_chip_features_list[] =
{ SENSORS_LM83_PREFIX, lm83_features },
{ SENSORS_LM90_PREFIX, lm90_features },
{ SENSORS_XEONTEMP_PREFIX, xeontemp_features },
{ SENSORS_MAX6650_PREFIX, max6650_features },
{ 0 }
};
+10
View File
@@ -1655,4 +1655,14 @@
#define SENSORS_XEONTEMP_REMOTE_TEMP_OVER 56 /* RW */
#define SENSORS_XEONTEMP_ALARMS 81 /* R */
/* MAX6650 / 1 chips */
#define SENSORS_MAX6650_PREFIX "max6650"
#define SENSORS_MAX6650_FAN1_TACH 1 /* R */
#define SENSORS_MAX6650_FAN2_TACH 2 /* R */
#define SENSORS_MAX6650_FAN3_TACH 3 /* R */
#define SENSORS_MAX6650_FAN4_TACH 4 /* R */
#define SENSORS_MAX6650_SPEED 5 /* RW */
#endif /* def LIB_SENSORS_CHIPS_H */