android_kernel_xiaomi_sm8350/drivers/hwmon
Bjorn Helgaas 87b4b6634a hwmon: (it87) request only Environment Controller ports
The IT8705F and related parts are Super I/O controllers that contain
many separate devices.

Some BIOSes describe IT8705F I/O port usage under a motherboard device
(PNP0C02) with overlapping regions, e.g., 0x290-0x29f and 0x290-0x294.

The it87 driver supports only the Environment Controller, which requires
only two ISA ports, but it used to request an eight-port range.  If that
range exceeds a range reported by the BIOS, as 0x290-0x297 would, the
request fails, and the it87 driver cannot claim the device.

This patch makes the it87 driver request only the two ports used for the
Environment Controller device.

Systems where this problem has been reported:
    Gigabyte GA-K8N Ultra 9
    Gigabyte M56S-S3
    Gigabyte GA-965G-DS3

Kernel bug reports:
    http://bugzilla.kernel.org/show_bug.cgi?id=9514
    http://lkml.org/lkml/2007/12/4/466

Related change:
    http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=a7839e960675b549f06209d18283d5cee2ce9261

    The patch above increases the number of PNP port resources we support.
    Prior to this patch, we ignored some port resources, which masked the
    it87 problem.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
2008-01-22 07:21:38 -05:00
..
ams
abituguru3.c hwmon: (abituguru3) Identify ABit IP35 Pro as such 2007-11-08 08:42:47 -05:00
abituguru.c
ad7418.c
adm1021.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm9240.c
adt7470.c
applesmc.c hwmon: (applesmc) Add support for Mac Pro 2 x Quad-Core 2007-11-08 08:42:46 -05:00
asb100.c
atxp1.c
coretemp.c HWMON: coretemp, suspend fix 2007-12-04 01:35:32 -05:00
dme1737.c
ds1621.c
f71805f.c
f71882fg.c
f75375s.c hwmon: (f75375s) pwmX_mode sysfs files writable for f75375 variant 2007-11-08 08:42:47 -05:00
fscher.c
fschmd.c
fscpos.c
gl518sm.c
gl520sm.c
hdaps.c
hwmon-vid.c
hwmon.c
i5k_amb.c hwmon: (i5k_amb) Convert macros to C functions 2007-11-08 08:42:47 -05:00
ibmpex.c hwmon: (ibmpex) Change printk to dev_{info,err} macros 2007-11-08 08:42:46 -05:00
it87.c hwmon: (it87) request only Environment Controller ports 2008-01-22 07:21:38 -05:00
k8temp.c
Kconfig hwmon: (i5k_amb) New memory temperature sensor driver 2007-11-08 08:42:46 -05:00
lm63.c
lm70.c hwmon: (lm70) Convert semaphore to mutex 2007-11-08 08:42:46 -05:00
lm75.c
lm75.h
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c
lm87.c
lm90.c
lm92.c
lm93.c
Makefile hwmon: (i5k_amb) New memory temperature sensor driver 2007-11-08 08:42:46 -05:00
max1619.c
max6650.c
pc87360.c
pc87427.c
sis5595.c hwmon: (sis5595) Split sis5595_attributes_opt 2007-11-08 08:42:45 -05:00
smsc47b397.c
smsc47m1.c
smsc47m192.c
thmc50.c
via686a.c
vt1211.c
vt8231.c
w83l785ts.c
w83627ehf.c hwmon: (w83627ehf) Be more careful when changing VID input level 2008-01-03 07:33:31 -05:00
w83627hf.c
w83781d.c hwmon: (w83781d) Add missing curly braces 2007-11-08 08:42:47 -05:00
w83791d.c
w83792d.c
w83793.c