Show
Ignore:
Timestamp:
11/08/11 10:10:11 (7 months ago)
Author:
khali
Message:

Add detection of National Semiconductor LM96163.

Files:
1 modified

Legend:

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

    r5996 r5997  
    10241024                i2c_detect => sub { lm63_detect(@_, 3); }, 
    10251025        }, { 
     1026                name => "National Semiconductor LM96163", 
     1027                driver => "lm63", 
     1028                i2c_addrs => [0x4c], 
     1029                i2c_detect => sub { lm63_detect(@_, 4); }, 
     1030        }, { 
    10261031                name => "Fintek F75363SG", 
    10271032                driver => "lm63", # Not yet 
     
    46004605} 
    46014606 
    4602 # Chip to detect: 1 = LM63, 2 = F75363SG, 3 = LM64 
     4607# Chip to detect: 1 = LM63, 2 = F75363SG, 3 = LM64, 4 = LM96163 
    46034608# Registers used: 
    46044609#   0xfe: Manufacturer ID 
     
    46284633                return if $mid != 0x01          # National Semiconductor 
    46294634                       || $cid != 0x51;         # LM64 
     4635                return if ($conf & 0x18) != 0x00 
     4636                       || ($mask & 0xa4) != 0xa4; 
     4637        } elsif ($chip == 4) { 
     4638                return if $mid != 0x01          # National Semiconductor 
     4639                       || $cid != 0x49;         # LM96163 
    46304640                return if ($conf & 0x18) != 0x00 
    46314641                       || ($mask & 0xa4) != 0xa4;