Show
Ignore:
Timestamp:
02/17/99 01:20:36 (14 years ago)
Author:
frodo
Message:

Stupid ADM1021 detection bug fixed (thanks Mark!)

Files:
1 modified

Legend:

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

    r232 r236  
    175175       register (I wish all SMBus chips had this..)       */ 
    176176    /* The MAX1617 does not have it, regrettably. */ 
    177     if (smbus_read_byte_data(adapter,address,adm1021_REG_DEVICE_ID) != 0x41){ 
     177    if (smbus_read_byte_data(adapter,address,adm1021_REG_DEVICE_ID) == 0x41){ 
    178178        type = adm1021; 
    179179        type_name = "adm1021";