Changeset 1953

Show
Ignore:
Timestamp:
08/09/03 23:18:41 (10 years ago)
Author:
khali
Message:

Add tcrit and alarms support to lm83.

Location:
lm-sensors/trunk/lib
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/lib/chips.c

    r1934 r1953  
    691691                              SENSORS_LM83_REMOTE3_TEMP, SENSORS_MODE_RW,  
    692692                              LM83_SYSCTL_REMOTE3_TEMP, VALUE(1), 0 }, 
     693    { SENSORS_LM83_TCRIT, "tcrit", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING, 
     694                         SENSORS_MODE_RW, LM83_SYSCTL_TCRIT, VALUE(1), 0 }, 
     695    { SENSORS_LM83_ALARMS, "alarms", SENSORS_NO_MAPPING, SENSORS_NO_MAPPING, 
     696                         SENSORS_MODE_R, LM83_SYSCTL_ALARMS, VALUE(1), 0 }, 
    693697    { 0 } 
    694698  }; 
  • lm-sensors/trunk/lib/chips.h

    r1934 r1953  
    330330#define SENSORS_LM83_REMOTE3_TEMP 60 /* R */ 
    331331#define SENSORS_LM83_REMOTE3_HIGH 61 /* RW */ 
     332#define SENSORS_LM83_TCRIT 80 /* RW */ 
     333#define SENSORS_LM83_ALARMS 81 /* R */ 
    332334 
    333335/* LM85 chips */