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:
@@ -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 "
|
||||||
|
Reference in New Issue
Block a user