Changeset 5888

Show
Ignore:
Timestamp:
12/10/10 14:05:59 (3 years ago)
Author:
khali
Message:

Add detection of SMSC EMC1423.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r5886 r5888  
    1010  sensors-detect: Improve LM90 and W83L771 detection 
    1111                  Fix error seen if I2C bus numbers are not sequential 
     12                  Add detection of SMSC EMC1423 
    1213 
    13143.2.0 (2010-10-10) 
  • lm-sensors/trunk/prog/detect/sensors-detect

    r5883 r5888  
    11911191                i2c_detect => sub { emc1403_detect(@_, 1); }, 
    11921192        }, { 
     1193                name => "SMSC EMC1423", 
     1194                driver => "emc1403", 
     1195                i2c_addrs => [0x18, 0x2a, 0x4c, 0x4d], 
     1196                i2c_detect => sub { emc1403_detect(@_, 3); }, 
     1197        }, { 
    11931198                name => "ST STTS424", 
    11941199                driver => "jc42", 
     
    52945299} 
    52955300 
    5296 # Chip to detect: 0 = EMC1403, 1 = EMC1404, 2 = EMC2103 
     5301# Chip to detect: 0 = EMC1403, 1 = EMC1404, 2 = EMC2103, 3 = EMC1423 
    52975302# Registers used: 
    52985303#   0xfd: Device ID register 
     
    53165321        } elsif ($chip == 2) { 
    53175322                return unless ($dev_id == 0x24) || ($dev_id == 0x26); 
     5323                return unless $rev == 0x01; 
     5324        } elsif ($chip == 3) { 
     5325                return unless $dev_id == 0x23; 
    53185326                return unless $rev == 0x01; 
    53195327        }