mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-31 13:10:30 +00:00
Explicitely prevent ITE chips from being misdetected as LM78 chips.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4166 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
017ad76a20
commit
c90c281af7
1 file changed
+4
@@ -3067,6 +3067,10 @@ sub lm78_isa_detect
|
||||
$reg = &$readproc(0x4f);
|
||||
return if $reg == 0xa3 || $reg == 0x5c;
|
||||
|
||||
# Explicitely prevent misdetection of ITE chips
|
||||
$reg = &$readproc(0x58);
|
||||
return if $reg == 0x90;
|
||||
|
||||
return 6;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user