Changeset 5000

Show
Ignore:
Timestamp:
10/28/07 15:20:53 (6 years ago)
Author:
jwrdegoede
Message:

sensors-detect: Add Texas Instruments TMP401 detection

Location:
lm-sensors/branches/lm-sensors-3.0.0
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/branches/lm-sensors-3.0.0/CHANGES

    r4997 r5000  
    11lm-sensors CHANGES file 
    22----------------------- 
     3 
     4SVN HEAD 
     5  sensors-detect: Add Texas Instruments TMP401 detection 
    36 
    473.0.0-rc3 (2007-10-28) 
  • lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect

    r4968 r5000  
    12381238     }, 
    12391239     { 
     1240       name => "Texas Instruments TMP401", 
     1241       driver => "tmp401", 
     1242       i2c_addrs => [0x4c], 
     1243       i2c_detect => sub { lm90_detect(9, @_); }, 
     1244     }, 
     1245     { 
    12401246       name => "National Semiconductor LM63", 
    12411247       driver => "lm63", 
     
    39063912#   (0 = LM90, 1=LM89/LM99, 2=LM86, 3=ADM1032, 4=MAX6657/MAX6658/MAX6659, 
    39073913#    5 = ADT7461, 6 = MAX6648/MAX6692, 7 = MAX6680/MAX6681, 
    3908 #    8 = W83L771W/G) 
     3914#    8 = W83L771W/G), 9 = TI TMP401 
    39093915# $_[1]: A reference to the file descriptor to access this chip. 
    39103916# $_[2]: Address 
     
    39863992    return if $mid != 0x5c;     # Winbond 
    39873993    return if $cid != 0x00;     # W83L771W/G 
     3994    return 6; 
     3995  } 
     3996  if ($chip == 9) { 
     3997    return if ($conf & 0x1B) != 0; 
     3998    return if $rate > 0x0F; 
     3999    return if $mid != 0x55;     # Texas Instruments 
     4000    return if $cid != 0x11;     # TMP401 
    39884001    return 6; 
    39894002  }