aboutsummaryrefslogtreecommitdiff
path: root/drivers/hwmon/ams
diff options
context:
space:
mode:
authorKenji Kaneshige2008-04-25 14:39:06 -0700
committerJesse Barnes2008-04-25 14:39:06 -0700
commitae416e6b2936fdb70aeee6eb9066115d4521daa6 (patch)
tree697673ed483f1d39e654b54081eb5306df41e91a /drivers/hwmon/ams
parentc27fb883dffe11aa4cb35ecea1fa1832ba45d4da (diff)
pciehp: Fix wrong slot capability check
Current pciehp saves only 8bits of Slot Capability registers in ctrl->ctrlcap. But it refers more than 8bit for checking EMI capability. It is clearly a bug and EMI would never work. To fix this problem, this patch saves full Slot Capability contens in ctrl->slot_cap. It also reduce the redundant reads of Slot Capability register. And this pach also cleans up the macros to check the slot capabilitys (e.g. MRL_SENS(), and so on). Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com> Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'drivers/hwmon/ams')
0 files changed, 0 insertions, 0 deletions