Changeset 2920

Show
Ignore:
Timestamp:
03/03/05 22:05:57 (4 years ago)
Author:
khali
Message:

Userspace support for the ADT7461 (patch by James Chapman).

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lm-sensors/trunk/etc/sensors.conf.eg

    r2919 r2920  
    17851785 
    17861786 
    1787 chip "lm90-*" "adm1032-*" "lm86-*" "max6657-*" 
     1787chip "lm90-*" "adm1032-*" "lm86-*" "max6657-*" "adt7461-*" 
    17881788 
    17891789   label temp1 "M/B Temp" 
  • lm-sensors/trunk/lib/chips.c

    r2919 r2920  
    53505350 { SENSORS_LM86_PREFIX, lm90_features }, 
    53515351 { SENSORS_MAX6657_PREFIX, lm90_features }, 
     5352 { SENSORS_ADT7461_PREFIX, lm90_features }, 
    53525353 { SENSORS_LM63_PREFIX, lm63_features }, 
    53535354 { SENSORS_MAX1619_PREFIX, max1619_features }, 
  • lm-sensors/trunk/lib/chips.h

    r2869 r2920  
    476476#define SENSORS_LM85_ZONE3_SMOOTH          101  /* RW -- zone3_smooth  */ 
    477477 
    478 /* LM86/LM89/LM90/LM99/ADM1032/MAX6657 chips */ 
     478/* LM86/LM89/LM90/LM99/ADM1032/MAX6657/ADT7461 chips */ 
    479479 
    480480#define SENSORS_LM90_PREFIX "lm90" 
     
    483483#define SENSORS_LM86_PREFIX "lm86" 
    484484#define SENSORS_MAX6657_PREFIX "max6657" 
     485#define SENSORS_ADT7461_PREFIX "adt7461" 
    485486 
    486487#define SENSORS_LM90_LOCAL_TEMP 51 /* R */ 
  • lm-sensors/trunk/prog/detect/sensors-detect

    r2912 r2920  
    13281328     { 
    13291329       name => "Analog Devices ADT7461", 
    1330        driver => "to-be-written", 
     1330       driver => "lm90", 
    13311331       i2c_addrs => [0x4c], 
    13321332       i2c_detect => sub { lm90_detect 5, @_ }, 
  • lm-sensors/trunk/prog/sensors/main.c

    r2887 r2920  
    394394        { "lm86", print_lm90 }, 
    395395        { "max6657", print_lm90 }, 
     396        { "adt7461", print_lm90 }, 
    396397        { "lm63", print_lm63 }, 
    397398        { "xeontemp", print_xeontemp },