Changeset 1058

Show
Ignore:
Timestamp:
04/05/01 01:12:34 (14 years ago)
Author:
mds
Message:

fix bug in lm84 and gl523sm support; driver would recognize the

chip and then return an error code anyway.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r1057 r1058  
    3535  Library: Fix/standardize some lm87 and mtp008 entries 
    3636  Chip Modules (all ISA): Remove #include "i2c-isa.h" 
     37  Module adm1021: Fix lm84 and gl523sm support 
    3738  Module i2c-i801: Chip detection cleanup 
    3839  Module i2c-i810: Fixed i2c_i810_init() not found in patched kernel 
  • lm-sensors/trunk/kernel/chips/adm1021.c

    r1015 r1058  
    297297                type_name = "thmc10"; 
    298298                client_name = "THMC10 chip"; 
     299        } else if (kind == lm84) { 
     300                type_name = "lm84"; 
     301                client_name = "LM84 chip"; 
     302        } else if (kind == gl523sm) { 
     303                type_name = "gl523sm"; 
     304                client_name = "GL523SM chip"; 
    299305        } else { 
    300306#ifdef DEBUG