Prevent misdetection of MAX6633/MAX6634/MAX6635.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4239 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2006-11-14 13:04:41 +00:00
1 parent 74053ce8b5
commit 6556dfd786
2 files changed
+4

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ SVN HEAD
Add EPoX EP1308 detection (Hans Edgington)
Add Intel Core thermal sensor detection
Preallocate memory for I2C_FUNCS ioctl (#2138)
Prevent misdetection of MAX6633/MAX6634/MAX6635
2.10.1 (20060924)
File doc/developers/checklist renamed to dev/developers/release_checklist
+3
View File
@@ -3368,6 +3368,9 @@ sub lm92_detect
my $low = i2c_smbus_read_word_data($file, 0x04);
my $high = i2c_smbus_read_word_data($file, 0x05);
return if $conf == 0 and $hyst == 0 and $crit == 0
and $low == 0 and $high == 0;
return if $chip == 0
and i2c_smbus_read_word_data($file, 0x07) != 0x0180;