Added temporary Winbond detection code

IF the Winbond docs are right this time, a Winbond should now be
recognized; a warning is printed, and it is treated as a LM79.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@70 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1998-12-13 02:21:37 +00:00
1 parent af2a765748
commit 812f463a20
2 files changed
+10

No files matched your search

+5
View File
@@ -346,6 +346,11 @@ int lm78_detect_isa(struct isa_adapter *adapter)
type = lm79;
type_name = "lm79";
client_name = "LM79 chip";
} else if (err == 0x02) {
printk("lm78.o: Warning: Winbond W83781D detected (treated as a LM79)\n");
type = lm79;
type_name = "lm79";
client_name = "LM79 chip";
} else {
#ifdef DEBUG
printk("lm78.o: warning: probed non-lm78 chip?!? (%x)\n",err);
+5
View File
@@ -346,6 +346,11 @@ int lm78_detect_isa(struct isa_adapter *adapter)
type = lm79;
type_name = "lm79";
client_name = "LM79 chip";
} else if (err == 0x02) {
printk("lm78.o: Warning: Winbond W83781D detected (treated as a LM79)\n");
type = lm79;
type_name = "lm79";
client_name = "LM79 chip";
} else {
#ifdef DEBUG
printk("lm78.o: warning: probed non-lm78 chip?!? (%x)\n",err);