]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
hwmon: (w83781d) Fix I/O resource conflict with PNP
authorJean Delvare <khali@linux-fr.org>
Sun, 9 Mar 2008 12:34:28 +0000 (13:34 +0100)
committerMark M. Hoffman <mhoffman@lightlink.com>
Thu, 27 Mar 2008 12:40:41 +0000 (08:40 -0400)
commit2961cb22ef02850d90e7a12c28a14d74e327df8d
treebffcd9538506c0b031c082d2b0ebc8a1c608b7fc
parent05dda977f2574c3341abef9b74c27d2b362e1e3a
hwmon: (w83781d) 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 makes the request
(and thus the detection) fail.

This fixes lm-sensors ticket #2306:
http://www.lm-sensors.org/ticket/2306

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
drivers/hwmon/w83781d.c