mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 05:48:07 +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:
parent
084a788bc6
commit
352fb41c68
@ -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 "
|
||||
|
Loading…
x
Reference in New Issue
Block a user