From: Kenji Kaneshige Date: Fri, 25 Apr 2008 21:39:06 +0000 (-0700) Subject: pciehp: Fix wrong slot capability check X-Git-Tag: v2.6.26-rc1~364^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae416e6b2936fdb70aeee6eb9066115d4521daa6;p=pandora-kernel.git 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 Signed-off-by: Kristen Carlson Accardi Signed-off-by: Jesse Barnes --- Reading git-diff-tree failed