mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-31 14:25:39 +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:
@@ -3067,6 +3067,10 @@ sub lm78_isa_detect
|
|||||||
$reg = &$readproc(0x4f);
|
$reg = &$readproc(0x4f);
|
||||||
return if $reg == 0xa3 || $reg == 0x5c;
|
return if $reg == 0xa3 || $reg == 0x5c;
|
||||||
|
|
||||||
|
# Explicitely prevent misdetection of ITE chips
|
||||||
|
$reg = &$readproc(0x58);
|
||||||
|
return if $reg == 0x90;
|
||||||
|
|
||||||
return 6;
|
return 6;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user