]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
hwmon: (lm78) Fix I/O resource conflict with PNP
authorJean Delvare <khali@linux-fr.org>
Tue, 9 Feb 2010 17:33:29 +0000 (18:33 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:52:17 +0000 (15:52 -0700)
commit5d0698d14afc8179e681d1baa6a76a814f8f2fcf
tree0cd5ed55553943a976a1c593b53153070f5432e5
parent4594467f733524ec6ef31648b8f5b7fce1856852
hwmon: (lm78) Fix I/O resource conflict with PNP

This fix is the combination of the following two upstream patches:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=197027e6ef830d60e10f76efc8d12bf3b6c35db5
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=47c15532ddcd6818f51cb15f914d63864b3ee9ab

Only request I/O ports 0x295-0x296 instead of the full I/O address
range. This solves a conflict with PNP resources on a few motherboards.

Also request the I/O ports individually during device detection,
otherwise the PNP resource may cause the request (and thus the
detection) fail.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hwmon/lm78.c