]> git.karo-electronics.de Git - karo-tx-linux.git/commit
hwmon: (coretemp) Use PCI host bridge ID to identify CPU if necessary
authorGuenter Roeck <linux@roeck-us.net>
Mon, 27 May 2013 19:20:19 +0000 (12:20 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 16 Dec 2013 02:18:56 +0000 (18:18 -0800)
commitda9e8c7a7b99b245c464ff45c7bde38a4b510019
tree60f94b83e4e39cd53e41223c0efa66a5457c415b
parent0cebd1a5397da3e791a33312b82e9928358d1189
hwmon: (coretemp) Use PCI host bridge ID to identify CPU if necessary

Atom S12x0 CPUs are identified by the CPU host bridge ID. Add an override
table based on PCI IDs as well as code to detect it.

PCI access functions can now be called with PCI disabled, so unlike previous
attempts to use PCI IDs, the code no longer depends on it. If PCI is disabled,
the CPU will not be identified correctly. Since it is unlikely that anything
will work in this case, this is an acceptable limitation.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/coretemp.c