Changeset 5973

Show
Ignore:
Timestamp:
05/12/11 11:37:57 (13 months ago)
Author:
khali
Message:

Patch from Steve Glendinning (SMSC):

EMC2300 is already detected, but is reported as EMC6D103S. These
two are register compatible and it's not actually possible to
distinguish between them by registers.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r5970 r5973  
    1212                  Add detection of SMSC EMC6W201 
    1313                  Drop unreliable detection of Maxim MAX6650 
     14                  Add detection of SMSC EMC2300 
    1415 
    15163.3.0 (2011-03-28) 
  • lm-sensors/trunk/prog/detect/sensors-detect

    r5972 r5973  
    558558                i2c_detect => sub { lm85_detect(@_, 6); }, 
    559559        }, { 
    560                 name => "SMSC EMC6D103S", 
     560                name => "SMSC EMC6D103S or EMC2300", 
    561561                driver => "lm85", 
    562562                i2c_addrs => [0x2c..0x2e], 
     
    48584858# Chip to detect: 0 = LM85, 1 = LM96000, 2 = ADM1027, 3 = ADT7463, 
    48594859#                 4 = EMC6D100/101, 5 = EMC6D102, 6 = EMC6D103, 
    4860 #                 7 = WPCD377I (no sensors), 8 = EMC6D103S 
     4860#                 7 = WPCD377I (no sensors), 8 = EMC6D103S/EMC2300 
    48614861# Registers used: 
    48624862#   0x3e: Vendor register 
     
    48974897        } elsif ($chip == 8) { 
    48984898                return if $vendor != 0x5c;      # SMSC 
    4899                 return if $verstep != 0x6a;     # EMC6D103S 
     4899                return if $verstep != 0x6a;     # EMC6D103S/EMC2300 
    49004900        } 
    49014901