mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-21 11:39:31 +00:00
recognize lm78's with chipid register (0x49) == 0x20, as
reported by Vernon McPherron <vernon@xnote.com> git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@998 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
d569353d79
commit
c2b81edc8a
3 files changed
+7
-5
No files matched your search
+1
-1
@@ -389,7 +389,7 @@ int lm78_detect(struct i2c_adapter *adapter, int address,
|
||||
/* Determine the chip type. */
|
||||
if (kind <= 0) {
|
||||
i = lm78_read_value(new_client, LM78_REG_CHIPID);
|
||||
if (i == 0x00)
|
||||
if (i == 0x00 || i == 0x20)
|
||||
kind = lm78;
|
||||
else if (i == 0x40)
|
||||
kind = lm78j;
|
||||
|
||||
Reference in new issue
Block a user