mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-09 16:21:51 +00:00
Lower the confidence value of the MAX6650/MAX6651 from 4 to 3.
These chips are easily misdetected. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5096 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
2f96d70c2c
commit
eed6e723e8
2 files changed
+3
-2
No files matched your search
@@ -33,6 +33,7 @@ SVN-HEAD
|
||||
detection
|
||||
Improve sysconfig and modprobe.d integration
|
||||
Add SMSC SCH5514D-NS detection (no sensors)
|
||||
Lower the confidence of MAX6650/MAX6651
|
||||
Program unhide_ICH_SMBus: Add support for the 82801AA (ICH)
|
||||
|
||||
2.10.5 (20071024)
|
||||
|
||||
@@ -5307,7 +5307,7 @@ sub w83l785ts_detect
|
||||
# if somebody finds a way to distinguish MAX6650 and MAX6651.
|
||||
# $_[1]: A reference to the file descriptor to access this chip.
|
||||
# $_[2]: Address
|
||||
# Returns: undef if not detected, 4 if detected.
|
||||
# Returns: undef if not detected, 3 if detected.
|
||||
#
|
||||
# The max6650 has no device ID register. However, a few registers have
|
||||
# spare bits, which are documented as being always zero on read. We read
|
||||
@@ -5334,7 +5334,7 @@ sub max6650_detect
|
||||
return if i2c_smbus_read_byte_data($file,0x14) & 0xE0;
|
||||
return if ($conf & 0xC0) or ($conf & 0x07) > 4;
|
||||
|
||||
return 4;
|
||||
return 3;
|
||||
}
|
||||
|
||||
# $_[0]: Chip to detect. Always zero.
|
||||
|
||||
Reference in new issue
Block a user