mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-04 16:25:18 +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/branches/lm-sensors-3.0.0@5097 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1
CHANGES
1
CHANGES
@@ -18,6 +18,7 @@ SVN
|
|||||||
sensors-detect: Drop PCA9540 detection
|
sensors-detect: Drop PCA9540 detection
|
||||||
Improve sysconfig and modprobe.d integration
|
Improve sysconfig and modprobe.d integration
|
||||||
Add SMSC SCH5514D-NS detection (no sensors)
|
Add SMSC SCH5514D-NS detection (no sensors)
|
||||||
|
Lower the confidence of MAX6650/MAX6651
|
||||||
unhide_ICH_SMBus: Add support for the 82801AA (ICH)
|
unhide_ICH_SMBus: Add support for the 82801AA (ICH)
|
||||||
|
|
||||||
3.0.0 (2007-11-24)
|
3.0.0 (2007-11-24)
|
||||||
|
@@ -5307,7 +5307,7 @@ sub w83l785ts_detect
|
|||||||
# if somebody finds a way to distinguish MAX6650 and MAX6651.
|
# if somebody finds a way to distinguish MAX6650 and MAX6651.
|
||||||
# $_[1]: A reference to the file descriptor to access this chip.
|
# $_[1]: A reference to the file descriptor to access this chip.
|
||||||
# $_[2]: Address
|
# $_[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
|
# 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
|
# 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 i2c_smbus_read_byte_data($file,0x14) & 0xE0;
|
||||||
return if ($conf & 0xC0) or ($conf & 0x07) > 4;
|
return if ($conf & 0xC0) or ($conf & 0x07) > 4;
|
||||||
|
|
||||||
return 4;
|
return 3;
|
||||||
}
|
}
|
||||||
|
|
||||||
# $_[0]: Chip to detect. Always zero.
|
# $_[0]: Chip to detect. Always zero.
|
||||||
|
Reference in New Issue
Block a user