ada0c2f8fa
This patch changes w83627hf and w83627ehf drivers to reserve only ports 0x295-0x296, instead of full 0x290-0x297 range. While some other sensors chips respond to all addresses in 0x290-0x297 range, Winbond chips respond to 0x295-0x296 only (this behavior is implied by documentation, and matches behavior observed on real systems). This is not problem alone, as no BIOS was found to put something at these unused addresses, and sensors chip itself provides nothing there as well. But in addition to only respond to these two addresses, also BIOS vendors report in their ACPI-PnP structures that there is some resource at I/O address 0x295 of length 2. And when later this hwmon driver attempts to request region with base 0x290/length 8, it fails as one request_region cannot span more than one device. Due to this we have to ask only for region this hardware really occupies, otherwise driver cannot be loaded on systems with ACPI-PnP enabled. Signed-off-by: Petr Vandrovec <vandrove@vc.cvut.cz> Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
adm1021.c | ||
adm1025.c | ||
adm1026.c | ||
adm1031.c | ||
adm9240.c | ||
asb100.c | ||
atxp1.c | ||
ds1621.c | ||
fscher.c | ||
fscpos.c | ||
gl518sm.c | ||
gl520sm.c | ||
hdaps.c | ||
hwmon-vid.c | ||
hwmon.c | ||
it87.c | ||
Kconfig | ||
lm63.c | ||
lm75.c | ||
lm75.h | ||
lm77.c | ||
lm78.c | ||
lm80.c | ||
lm83.c | ||
lm85.c | ||
lm87.c | ||
lm90.c | ||
lm92.c | ||
Makefile | ||
max1619.c | ||
pc87360.c | ||
sis5595.c | ||
smsc47b397.c | ||
smsc47m1.c | ||
via686a.c | ||
w83l785ts.c | ||
w83627ehf.c | ||
w83627hf.c | ||
w83781d.c | ||
w83792d.c |