Changeset 5334

Show
Ignore:
Timestamp:
09/10/08 09:30:12 (5 years ago)
Author:
khali
Message:

W83627DHG has no subclients.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r5333 r5334  
    1313                          Add Texas Instruments TMP411 support 
    1414                          Prevent misdetection of W83627DHG on I2C as LM78 
     15                          W83627DHG has no subclients 
    1516 
    16172.10.7 (20080701) 
  • lm-sensors/trunk/prog/detect/sensors-detect

    r5333 r5334  
    44724472  return if $chip == 9 and  $reg1 != 0xa1; 
    44734473  return if $chip == 10 and  $reg1 != 0xa2; 
    4474   $reg1 = i2c_smbus_read_byte_data($file, 0x4a); 
    44754474  # Default address is 0x2d 
    44764475  @res = ($addr != 0x2d) ? (7) : (8); 
    4477   return @res if $chip == 9; # No subclients 
     4476  return @res if $chip >= 9; # No subclients 
     4477 
     4478  $reg1 = i2c_smbus_read_byte_data($file, 0x4a); 
    44784479  push @res, ($reg1 & 0x07) + 0x48 unless $reg1 & 0x08; 
    44794480  push @res, (($reg1 & 0x70) >> 4) + 0x48 unless ($reg1 & 0x80 or $chip == 2);