From 352fb41c68cf5ff2afd9e42f9284ffb0b6c84b29 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Wed, 28 Apr 2004 18:07:52 +0000 Subject: [PATCH] Fix fan configuration being read from the wrong registers. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2486 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/chips/pc87360.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kernel/chips/pc87360.c b/kernel/chips/pc87360.c index 2db013e0..0a1eae35 100644 --- a/kernel/chips/pc87360.c +++ b/kernel/chips/pc87360.c @@ -452,8 +452,8 @@ static int pc87360_find(u8 *devid, int *address) address[i] = val; if (i==0) { /* Fans */ - fanconf[0] = superio_inb(0x70) - | (superio_inb(0x71) << 8); + fanconf[0] = superio_inb(0xF0) + | (superio_inb(0xF1) << 8); #ifdef DEBUG printk(KERN_DEBUG "pc87360.o: Fan 1: mon=%d "