Kenji Kaneshige ae416e6b29 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>
2008-04-25 14:39:06 -07:00
..
2005-10-18 08:26:15 -07:00
2008-04-20 21:47:07 -07:00
2008-04-20 21:47:02 -07:00
2008-04-20 21:47:06 -07:00
2008-04-20 21:47:13 -07:00
2006-12-01 14:36:56 -08:00
2008-04-20 21:47:07 -07:00
2008-04-20 21:47:07 -07:00
2008-04-20 21:47:03 -07:00
2008-03-03 10:47:14 -08:00
2008-04-20 21:46:54 -07:00
2008-04-22 18:16:30 -07:00