Changeset 1283

Show
Ignore:
Timestamp:
01/09/02 02:19:23 (13 years ago)
Author:
mds
Message:

add support for ADM1023 (adm1021 driver)

Location:
lm-sensors/trunk
Files:
3 modified

Legend:

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

    r1255 r1283  
    25022502                /* Cheat on GL523 for now - no separate #defines */ 
    25032503 { SENSORS_GL523_PREFIX, adm1021_features }, 
    2504                 /* Cheat on THMC10 for now - no separate #defines */ 
     2504                /* Cheat on 1023,THMC10 for now - no separate #defines */ 
     2505 { SENSORS_ADM1023_PREFIX, adm1021_features }, 
    25052506 { SENSORS_THMC10_PREFIX, adm1021_features }, 
    25062507 { SENSORS_SIS5595_PREFIX, sis5595_features }, 
  • lm-sensors/trunk/lib/chips.h

    r1246 r1283  
    170170 
    171171#define SENSORS_ADM1021_PREFIX "adm1021" 
    172 /* Cheat on LM84,GL523,THMC10 for now - no separate #defines */ 
     172/* Cheat on LM84,GL523,THMC10,1023 for now - no separate #defines */ 
     173#define SENSORS_ADM1023_PREFIX "adm1023" 
    173174#define SENSORS_LM84_PREFIX "lm84" 
    174175#define SENSORS_GL523_PREFIX "gl523" 
  • lm-sensors/trunk/prog/sensors/main.c

    r1246 r1283  
    295295  else if (!strcmp(name.prefix,"adm1021") || !strcmp(name.prefix,"max1617") || 
    296296           !strcmp(name.prefix,"max1617a") || !strcmp(name.prefix, "thmc10") || 
    297            !strcmp(name.prefix,"lm84") || !strcmp(name.prefix, "gl523")) 
     297           !strcmp(name.prefix,"lm84") || !strcmp(name.prefix, "gl523") || 
     298           !strcmp(name.prefix, "adm1023")) 
    298299    print_adm1021(&name); 
    299300  else if (!strcmp(name.prefix,"adm9240") ||