]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PCI: fix AER capability check
authorYu Zhao <yu.zhao@intel.com>
Sun, 19 Oct 2008 12:35:20 +0000 (20:35 +0800)
committerJesse Barnes <jbarnes@virtuousgeek.org>
Mon, 20 Oct 2008 18:01:52 +0000 (11:01 -0700)
commit270c66be9b4a6f2be53ef3aec5dc8e7b07782ec9
tree241fa7549d1b4500325130e3f632b6ac7a19f0b3
parent0927678f55c9a50c296f7e6dae85e87b8236e155
PCI: fix AER capability check

The 'use pci_find_ext_capability everywhere' cleanup brought a new bug,
which makes the AER stop working.  Fix it by actually using find_ext_cap
instead of just find_cap.  Drop the unused config space size define while
we're at it.

Signed-off-by: Yu Zhao <yu.zhao@intel.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Documentation/PCI/pcieaer-howto.txt
drivers/pci/pcie/aer/aerdrv_core.c
drivers/pci/pcie/portdrv.h
include/linux/aer.h