git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c8def2
)
PCI: introduce pci_pcie_cap()
author
Kenji Kaneshige
<kaneshige.kenji@jp.fujitsu.com>
Wed, 11 Nov 2009 05:29:54 +0000
(14:29 +0900)
committer
Jesse Barnes
<jbarnes@virtuousgeek.org>
Tue, 24 Nov 2009 23:25:11 +0000
(15:25 -0800)
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>
No differences found