summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2011-07-07 09:52:38 +0000
committerJean Delvare <khali@linux-fr.org>2011-07-07 09:52:38 +0000
commit499a65fb0cac32c4dd1cda7fe64a1b5514292136 (patch)
tree0b35b05ad574c6a103624393b1b0591301efa83a
parente5bbea3bbc2513c95eaeb3af6c8645e6f8169d2f (diff)
downloadlm-sensors-git-499a65fb0cac32c4dd1cda7fe64a1b5514292136.tar.gz
Support for the LM95231 is being added to the lm95241 driver.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@5982 7894878c-1315-0410-8ee3-d5d059ff63e0
-rwxr-xr-xprog/detect/sensors-detect4
1 files changed, 2 insertions, 2 deletions
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
index dc3299eb..c12546cb 100755
--- a/prog/detect/sensors-detect
+++ b/prog/detect/sensors-detect
@@ -999,7 +999,7 @@ use vars qw(@i2c_adapter_names);
i2c_detect => sub { amc6821_detect(@_); },
}, {
name => "National Semiconductor LM95231",
- driver => "to-be-written",
+ driver => "lm95241",
i2c_addrs => [0x2b, 0x19, 0x2a],
i2c_detect => sub { lm95231_detect(@_, 0); },
}, {
@@ -4544,7 +4544,7 @@ sub lm95231_detect
return if $mid != 0x01; # National Semiconductor
return if $chip == 0 && $cid != 0xa1; # LM95231
- return if $chip == 1 && $cid != 0xa4; # LM95231
+ return if $chip == 1 && $cid != 0xa4; # LM95241
return if i2c_smbus_read_byte_data($file, 0x02) & 0x70;
return if i2c_smbus_read_byte_data($file, 0x03) & 0x89;