mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-27 12:30:43 +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:
1 parent
084a788bc6
commit
352fb41c68
1 file changed
+2
-2
@@ -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 "
|
||||
|
||||
Reference in new issue
Block a user