]> git.baikalelectronics.ru Git - kernel.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>
Wed, 15 Jan 2014 05:36:30 +0000 (21:36 -0800)
commit26f09b2315b3129da8a1ec886067e75c00582ce7
tree1fd6688393ff985910f51d5036432c4d5aea906e
parent7b2d4e8e5ed77f90ffee0c774869189b8ea0e5aa
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