Changeset 5332

Show
Ignore:
Timestamp:
09/10/08 09:24:46 (6 years ago)
Author:
khali
Message:

W83627DHG has no subclients.

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

    r5331 r5332  
    3333                  Add Texas Instruments TMP411 support 
    3434                  Prevent misdetection of W83627DHG on I2C as LM78 
     35                  W83627DHG has no subclients 
    3536 
    36373.0.2 (2008-05-18) 
  • lm-sensors/branches/lm-sensors-3.0.0/prog/detect/sensors-detect

    r5331 r5332  
    46114611  return if $chip == 9 and  $reg1 != 0xa1; 
    46124612  return if $chip == 10 and  $reg1 != 0xa2; 
    4613   $reg1 = i2c_smbus_read_byte_data($file, 0x4a); 
    46144613  # Default address is 0x2d 
    46154614  @res = ($addr != 0x2d) ? (7) : (8); 
    4616   return @res if $chip == 9; # No subclients 
     4615  return @res if $chip >= 9; # No subclients 
     4616 
     4617  $reg1 = i2c_smbus_read_byte_data($file, 0x4a); 
    46174618  push @res, ($reg1 & 0x07) + 0x48 unless $reg1 & 0x08; 
    46184619  push @res, (($reg1 & 0x70) >> 4) + 0x48 unless ($reg1 & 0x80 or $chip == 2);