Fix SMBus detection of early W83627EHF and W83627DHG.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5406 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2008-11-23 15:27:00 +00:00
1 parent a72bac5eb2
commit df31c02156
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -38,6 +38,7 @@ SVN-HEAD
Fix detection of ADT7462
Fix detection of SMSC LPC47M292
Add SMSC LPC47M233 support
Fix SMBus detection of W83627EHF and W83627DHG
2.10.7 (20080701)
Library: Don't choke on unrecognized devices, part 2
+2 -2
View File
@@ -4482,8 +4482,8 @@ sub w83781d_detect
return if $chip == 6 and $reg1 != 0x31;
return if $chip == 7 and $reg1 != 0x71;
return if $chip == 8 and $reg1 != 0x7a;
return if $chip == 9 and $reg1 != 0xa1;
return if $chip == 10 and $reg1 != 0xa2;
return if $chip == 9 and ($reg1 != 0x88 && $reg1 != 0xa1);
return if $chip == 10 and $reg1 != 0xc1;
# Default address is 0x2d
@res = ($addr != 0x2d) ? (7) : (8);
return @res if $chip >= 9; # No subclients