2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-31 14:25:39 +00:00

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
This commit is contained in:
Jean Delvare
2004-04-28 18:07:52 +00:00
parent 084a788bc6
commit 352fb41c68

View File

@@ -452,8 +452,8 @@ static int pc87360_find(u8 *devid, int *address)
address[i] = val; address[i] = val;
if (i==0) { /* Fans */ if (i==0) { /* Fans */
fanconf[0] = superio_inb(0x70) fanconf[0] = superio_inb(0xF0)
| (superio_inb(0x71) << 8); | (superio_inb(0xF1) << 8);
#ifdef DEBUG #ifdef DEBUG
printk(KERN_DEBUG "pc87360.o: Fan 1: mon=%d " printk(KERN_DEBUG "pc87360.o: Fan 1: mon=%d "