]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
hwmon: (lm78) Fix I/O resource conflict with PNP
authorJean Delvare <khali@linux-fr.org>
Fri, 17 Oct 2008 15:51:15 +0000 (17:51 +0200)
committerJean Delvare <khali@mahadeva.delvare>
Fri, 17 Oct 2008 15:51:15 +0000 (17:51 +0200)
commit47c15532ddcd6818f51cb15f914d63864b3ee9ab
tree65abe5a3fd40d9a4468550c522dd2db30ebeb988
parentf908037a01e53a48ff8eb049bb4a1fbb15449908
hwmon: (lm78) Fix I/O resource conflict with PNP

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 in two parts (4 low ports, 4 high ports)
during device detection, otherwise the PNP resource make the request
(and thus the detection) fail.

This is the exact same fix that was applied to driver w83781d in
March 2008 to address the same problem:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2961cb22ef02850d90e7a12c28a14d74e327df8d

Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/lm78.c