Fix SMBus detection of early W83627EHF chips.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5405 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2008-11-23 15:24:50 +00:00
1 parent 963ca0992c
commit a1db385f3c
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ SVN-HEAD
Add SMSC LPC47M233 support
Drop support for Linux 2.4 (#2325)
Handle special case chips more efficiently
Fix SMBus detection of W83627EHF and W83627DHG
3.0.3 (2008-09-28)
libsensors: Avoid namespace pollution
+1 -1
View File
@@ -4485,7 +4485,7 @@ 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 == 9 and ($reg1 != 0x88 && $reg1 != 0xa1);
return if $chip == 10 and $reg1 != 0xc1;
# Default address is 0x2d
@res = ($addr != 0x2d) ? (7) : (8);