Add support for lm89, max6681, max6658, max6659, max6646, max6647 and

max6649 prefixes. The lm90 driver doesn't instantiate such devices on
auto-detection as they are undistinguishable from other supported types,
but such devices can still be instantiated explicitly since kernel
2.6.27, and supporting them is cheap.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5364 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2008-10-20 08:18:39 +00:00
1 parent a36de90a61
commit 3efa6bf239
5 files changed
+32 -2

No files matched your search

+6
View File
@@ -5,14 +5,20 @@ SVN-HEAD
File i2c-dev.h: Drop I2C_FUNC_SMBUS_*I2C_BLOCK_2 defines
Library: Avoid namespace pollution
Add support for the IT8720F chip
Support separate prefixes lm89, max6658, max6659, max6681,
max6646, max6647 and max6649
Module i2c-i801: Remove verbose debugging messages (2.6 backport)
Properly report bus arbitration lost (2.6 backport)
Module i2c-piix4: Minor cleanups (2.6 backport)
Program pwmconfig: Fix MINSTOP and MINSTART test functions (#2340)
Change default for MINTEMP from 0 to 20 degrees C
Program sensord: Add it8720 support
Add lm89, max6658, max6659, max6681, max6646, max6647
and max6649 support
Program sensors: Recognize it87 thermal sensor type 4 as thermistor
Add it8720 support
Add lm89, max6658, max6659, max6681, max6646, max6647
and max6649 support
Program sensors-detect: Add VIA VT1212 support
Add SMSC EMC2700LPC support
Add ITE IT8720F support
+7
View File
@@ -6471,11 +6471,18 @@ sensors_chip_features sensors_chip_features_list[] =
{ SENSORS_LM83_PREFIX, lm83_features },
{ SENSORS_LM90_PREFIX, lm90_features },
{ SENSORS_ADM1032_PREFIX, lm90_features },
{ SENSORS_LM89_PREFIX, lm90_features },
{ SENSORS_LM99_PREFIX, lm90_features },
{ SENSORS_LM86_PREFIX, lm90_features },
{ SENSORS_MAX6657_PREFIX, lm90_features },
{ SENSORS_MAX6658_PREFIX, lm90_features },
{ SENSORS_MAX6659_PREFIX, lm90_features },
{ SENSORS_ADT7461_PREFIX, lm90_features },
{ SENSORS_MAX6680_PREFIX, lm90_features },
{ SENSORS_MAX6681_PREFIX, lm90_features },
{ SENSORS_MAX6646_PREFIX, lm90_features },
{ SENSORS_MAX6647_PREFIX, lm90_features },
{ SENSORS_MAX6649_PREFIX, lm90_features },
{ SENSORS_LM63_PREFIX, lm63_features },
{ SENSORS_MAX1619_PREFIX, max1619_features },
{ SENSORS_XEONTEMP_PREFIX, xeontemp_features },
+7
View File
@@ -504,11 +504,18 @@
#define SENSORS_LM90_PREFIX "lm90"
#define SENSORS_ADM1032_PREFIX "adm1032"
#define SENSORS_LM89_PREFIX "lm89"
#define SENSORS_LM99_PREFIX "lm99"
#define SENSORS_LM86_PREFIX "lm86"
#define SENSORS_MAX6657_PREFIX "max6657"
#define SENSORS_MAX6658_PREFIX "max6658"
#define SENSORS_MAX6659_PREFIX "max6659"
#define SENSORS_ADT7461_PREFIX "adt7461"
#define SENSORS_MAX6680_PREFIX "max6680"
#define SENSORS_MAX6681_PREFIX "max6681"
#define SENSORS_MAX6646_PREFIX "max6646"
#define SENSORS_MAX6647_PREFIX "max6647"
#define SENSORS_MAX6649_PREFIX "max6649"
#define SENSORS_LM90_LOCAL_TEMP 51 /* R */
#define SENSORS_LM90_LOCAL_HIGH 52 /* RW */
+5 -2
View File
@@ -1429,8 +1429,11 @@ static const ChipDescriptor w83793_chip = {
/** LM90 **/
static const char *lm90_names[] = {
SENSORS_LM90_PREFIX, SENSORS_ADM1032_PREFIX, SENSORS_LM99_PREFIX, SENSORS_LM86_PREFIX,
SENSORS_MAX6657_PREFIX, SENSORS_ADT7461_PREFIX, NULL
SENSORS_LM90_PREFIX, SENSORS_ADM1032_PREFIX, SENSORS_LM89_PREFIX,
SENSORS_LM99_PREFIX, SENSORS_LM86_PREFIX, SENSORS_MAX6657_PREFIX,
SENSORS_MAX6658_PREFIX, SENSORS_MAX6659_PREFIX, SENSORS_ADT7461_PREFIX,
SENSORS_MAX6680_PREFIX, SENSORS_MAX6681_PREFIX, SENSORS_MAX6646_PREFIX,
SENSORS_MAX6647_PREFIX, SENSORS_MAX6649_PREFIX, NULL
};
static const FeatureDescriptor lm90_features[] = {
+7
View File
@@ -406,11 +406,18 @@ static struct match matches[] = {
{ "lm83", print_lm83 },
{ "lm90", print_lm90 },
{ "adm1032", print_lm90 },
{ "lm89", print_lm90 },
{ "lm99", print_lm90 },
{ "lm86", print_lm90 },
{ "max6657", print_lm90 },
{ "max6658", print_lm90 },
{ "max6659", print_lm90 },
{ "adt7461", print_lm90 },
{ "max6680", print_lm90 },
{ "max6681", print_lm90 },
{ "max6646", print_lm90 },
{ "max6647", print_lm90 },
{ "max6649", print_lm90 },
{ "lm63", print_lm63 },
{ "xeontemp", print_xeontemp },
{ "max6650", print_max6650 },