diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-08-08 21:13:54 +0800 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2015-05-26 10:01:44 -0700 |
commit | ebdd117e5aab748d06f872860f36a0b09d8aadfc (patch) | |
tree | ecd94dc5f3642e4104a1355b63834fe2cc523adf /arch/alpha/include | |
parent | a8b253b9f253c05e5e10b829b8d1fb24556f4b56 (diff) | |
download | op-kernel-dev-ebdd117e5aab748d06f872860f36a0b09d8aadfc.zip op-kernel-dev-ebdd117e5aab748d06f872860f36a0b09d8aadfc.tar.gz |
alpha: clean up unnecessary MSI/MSI-X capability find
PCI core will initialize device MSI/MSI-X capability in
pci_msi_init_pci_dev(). So device driver should use
pci_dev->msi_cap/msix_cap to determine whether the device
support MSI/MSI-X instead of using
pci_find_capability(pci_dev, PCI_CAP_ID_MSI/MSIX).
Access to PCIe device config space again will consume more time.
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Acked-by: Matt Turner <mattst88@gmail.com>
Cc: Phil Carmody <pc+lkml@asdf.org>
Cc: linux-alpha@vger.kernel.org
Signed-off-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'arch/alpha/include')
0 files changed, 0 insertions, 0 deletions