mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-18 11:09:32 +00:00
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:
1 parent
af2a765748
commit
812f463a20
2 files changed
+10
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user