diff options
author | Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> | 2009-11-11 00:29:54 -0500 |
---|---|---|
committer | Jesse Barnes <jbarnes@virtuousgeek.org> | 2009-11-24 18:25:11 -0500 |
commit | d7b7e60526d54da4c94afe5f137714cee7d05c41 (patch) | |
tree | e8cdf8d2e60c274848e860501234ebb958ab0ae9 /net/tipc/bearer.h | |
parent | 8c8def26bfaa704db67d515da3eb92cf26067548 (diff) |
PCI: introduce pci_pcie_cap()
Introduce pci_pcie_cap() API that returns saved PCIe capability offset
(currently it is saved in 'pcie_cap' field in the struct PCI dev).
Using pci_pcie_cap() instead of pci_find_capability() avoids
unnecessary search in PCI configuration space.
Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Diffstat (limited to 'net/tipc/bearer.h')
0 files changed, 0 insertions, 0 deletions