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:
Mark D. Studebaker committed 2001-01-19 02:39:26 +00:00
1 parent d569353d79
commit c2b81edc8a
3 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -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;