From c90c281af74efc5defb2f846e6543b7cff04f3e0 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 20 Sep 2006 20:01:18 +0000 Subject: [PATCH] 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 --- prog/detect/sensors-detect | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect index a0289b73..7e6361b8 100755 --- a/prog/detect/sensors-detect +++ b/prog/detect/sensors-detect @@ -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; }