Changeset 5364

Show
Ignore:
Timestamp:
10/20/08 10:18:39 (3 years ago)
Author:
khali
Message:

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.

Location:
lm-sensors/trunk
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r5362 r5364  
    66  Library: Avoid namespace pollution 
    77           Add support for the IT8720F chip 
     8           Support separate prefixes lm89, max6658, max6659, max6681, 
     9            max6646, max6647 and max6649 
    810  Module i2c-i801: Remove verbose debugging messages (2.6 backport) 
    911                   Properly report bus arbitration lost (2.6 backport) 
     
    1214                     Change default for MINTEMP from 0 to 20 degrees C 
    1315  Program sensord: Add it8720 support 
     16                   Add lm89, max6658, max6659, max6681, max6646, max6647 
     17                    and max6649 support 
    1418  Program sensors: Recognize it87 thermal sensor type 4 as thermistor 
    1519                   Add it8720 support 
     20                   Add lm89, max6658, max6659, max6681, max6646, max6647 
     21                    and max6649 support 
    1622  Program sensors-detect: Add VIA VT1212 support 
    1723                          Add SMSC EMC2700LPC support 
  • lm-sensors/trunk/lib/chips.c

    r5356 r5364  
    64726472 { SENSORS_LM90_PREFIX, lm90_features }, 
    64736473 { SENSORS_ADM1032_PREFIX, lm90_features }, 
     6474 { SENSORS_LM89_PREFIX, lm90_features }, 
    64746475 { SENSORS_LM99_PREFIX, lm90_features }, 
    64756476 { SENSORS_LM86_PREFIX, lm90_features }, 
    64766477 { SENSORS_MAX6657_PREFIX, lm90_features }, 
     6478 { SENSORS_MAX6658_PREFIX, lm90_features }, 
     6479 { SENSORS_MAX6659_PREFIX, lm90_features }, 
    64776480 { SENSORS_ADT7461_PREFIX, lm90_features }, 
    64786481 { SENSORS_MAX6680_PREFIX, lm90_features }, 
     6482 { SENSORS_MAX6681_PREFIX, lm90_features }, 
     6483 { SENSORS_MAX6646_PREFIX, lm90_features }, 
     6484 { SENSORS_MAX6647_PREFIX, lm90_features }, 
     6485 { SENSORS_MAX6649_PREFIX, lm90_features }, 
    64796486 { SENSORS_LM63_PREFIX, lm63_features }, 
    64806487 { SENSORS_MAX1619_PREFIX, max1619_features }, 
  • lm-sensors/trunk/lib/chips.h

    r5356 r5364  
    505505#define SENSORS_LM90_PREFIX "lm90" 
    506506#define SENSORS_ADM1032_PREFIX "adm1032" 
     507#define SENSORS_LM89_PREFIX "lm89" 
    507508#define SENSORS_LM99_PREFIX "lm99" 
    508509#define SENSORS_LM86_PREFIX "lm86" 
    509510#define SENSORS_MAX6657_PREFIX "max6657" 
     511#define SENSORS_MAX6658_PREFIX "max6658" 
     512#define SENSORS_MAX6659_PREFIX "max6659" 
    510513#define SENSORS_ADT7461_PREFIX "adt7461" 
    511514#define SENSORS_MAX6680_PREFIX "max6680" 
     515#define SENSORS_MAX6681_PREFIX "max6681" 
     516#define SENSORS_MAX6646_PREFIX "max6646" 
     517#define SENSORS_MAX6647_PREFIX "max6647" 
     518#define SENSORS_MAX6649_PREFIX "max6649" 
    512519 
    513520#define SENSORS_LM90_LOCAL_TEMP 51 /* R */ 
  • lm-sensors/trunk/prog/sensord/chips.c

    r5356 r5364  
    14301430 
    14311431static const char *lm90_names[] = { 
    1432   SENSORS_LM90_PREFIX, SENSORS_ADM1032_PREFIX, SENSORS_LM99_PREFIX, SENSORS_LM86_PREFIX, 
    1433   SENSORS_MAX6657_PREFIX, SENSORS_ADT7461_PREFIX, NULL 
     1432  SENSORS_LM90_PREFIX, SENSORS_ADM1032_PREFIX, SENSORS_LM89_PREFIX, 
     1433  SENSORS_LM99_PREFIX, SENSORS_LM86_PREFIX, SENSORS_MAX6657_PREFIX, 
     1434  SENSORS_MAX6658_PREFIX, SENSORS_MAX6659_PREFIX, SENSORS_ADT7461_PREFIX, 
     1435  SENSORS_MAX6680_PREFIX, SENSORS_MAX6681_PREFIX, SENSORS_MAX6646_PREFIX, 
     1436  SENSORS_MAX6647_PREFIX, SENSORS_MAX6649_PREFIX, NULL 
    14341437}; 
    14351438 
  • lm-sensors/trunk/prog/sensors/main.c

    r5356 r5364  
    407407        { "lm90", print_lm90 }, 
    408408        { "adm1032", print_lm90 }, 
     409        { "lm89", print_lm90 }, 
    409410        { "lm99", print_lm90 }, 
    410411        { "lm86", print_lm90 }, 
    411412        { "max6657", print_lm90 }, 
     413        { "max6658", print_lm90 }, 
     414        { "max6659", print_lm90 }, 
    412415        { "adt7461", print_lm90 }, 
    413416        { "max6680", print_lm90 }, 
     417        { "max6681", print_lm90 }, 
     418        { "max6646", print_lm90 }, 
     419        { "max6647", print_lm90 }, 
     420        { "max6649", print_lm90 }, 
    414421        { "lm63", print_lm63 }, 
    415422        { "xeontemp", print_xeontemp },