Show
Ignore:
Timestamp:
06/07/10 11:30:14 (20 months ago)
Author:
khali
Message:

Add detection of the SMSC EMC2103. Patch from Steve Glendinning (SMSC).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/prog/detect/sensors-detect

    r5837 r5838  
    11311131                i2c_detect => sub { dme1737_detect(@_, 2); }, 
    11321132        }, { 
     1133                name => "SMSC EMC2103", 
     1134                driver => "emc2103", 
     1135                i2c_addrs => [0x2e], 
     1136                i2c_detect => sub { emc1403_detect(@_, 2); }, 
     1137        }, { 
    11331138                name => "Fintek F75121R/F75122R/RG (VID+GPIO)", 
    11341139                driver => "to-be-written", 
     
    51445149} 
    51455150 
    5146 # Chip to detect: 0 = EMC1403, 1 = EMC1404 
     5151# Chip to detect: 0 = EMC1403, 1 = EMC1404, 2 = EMC2103 
    51475152# Registers used: 
    51485153#   0xfd: Device ID register 
     
    51635168        } elsif ($chip == 1) { 
    51645169                return unless $dev_id == 0x25; 
     5170                return unless $rev == 0x01; 
     5171        } elsif ($chip == 2) { 
     5172                return unless ($dev_id == 0x24) || ($dev_id == 0x26); 
    51655173                return unless $rev == 0x01; 
    51665174        }