Changeset 5253

Show
Ignore:
Timestamp:
05/13/08 18:06:16 (2 months ago)
Author:
khali
Message:

Add lm90, adm1032, lm99, lm86, max6657 and adt7461 support to sensord.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/CHANGES

    r5250 r5253  
    1212  Module lm75: Fix an incorrect comment (2.6 backport) 
    1313  Module w83l785ts: Don't ask user to report failures (2.6 backport) 
     14  Program sensord: Add lm90, adm1032, lm99, lm86, max6657, adt7461 support 
    1415  Program sensors-detect: New device ID for the SMSC SCH5317 
    1516                          Add SMSC SCH5127 detection 
  • lm-sensors/trunk/prog/sensord/chips.c

    r5068 r5253  
    14361436}; 
    14371437 
     1438/** LM90 **/ 
     1439 
     1440static const char *lm90_names[] = { 
     1441  SENSORS_LM90_PREFIX, SENSORS_ADM1032_PREFIX, SENSORS_LM99_PREFIX, SENSORS_LM86_PREFIX, 
     1442  SENSORS_MAX6657_PREFIX, SENSORS_ADT7461_PREFIX, NULL 
     1443}; 
     1444 
     1445static const FeatureDescriptor lm90_features[] = { 
     1446  { fmtTemps_PC87360_1, rrdF1, DataType_temperature, 
     1447    LM90_ALARM_LOCAL_HIGH | LM90_ALARM_LOCAL_LOW | LM90_ALARM_LOCAL_CRIT, 0, 
     1448    { SENSORS_LM90_LOCAL_TEMP, SENSORS_LM90_LOCAL_LOW, 
     1449      SENSORS_LM90_LOCAL_HIGH, SENSORS_LM90_LOCAL_TCRIT, -1 } }, 
     1450  { fmtTemps_PC87360_1, rrdF1, DataType_temperature, 
     1451    LM90_ALARM_REMOTE_HIGH | LM90_ALARM_REMOTE_LOW | LM90_ALARM_REMOTE_CRIT, 0, 
     1452    { SENSORS_LM90_REMOTE_TEMP, SENSORS_LM90_REMOTE_LOW, 
     1453      SENSORS_LM90_REMOTE_HIGH, SENSORS_LM90_REMOTE_TCRIT, -1 } }, 
     1454  { NULL } 
     1455}; 
     1456 
     1457static const ChipDescriptor lm90_chip = { 
     1458  lm90_names, lm90_features, SENSORS_LM90_ALARMS, 0 
     1459}; 
     1460 
    14381461 
    14391462/** ALL **/ 
     
    14681491  &k8temp_chip, 
    14691492  &w83793_chip, 
     1493  &lm90_chip, 
    14701494  NULL 
    14711495};