tmp_suning_uos_patched/drivers
Kenji Kaneshige 0efea00063 PCI: cache PCIe capability offset
There are a lot of codes that searches PCI express capability offset
in the PCI configuration space using pci_find_capability(). Caching it
in the struct pci_dev will reduce unncecessary search. This patch adds
an additional 'pcie_cap' fields into struct pci_dev, which is
initialized at pci device scan time (in set_pcie_port_type()).

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-11-06 13:59:02 -08:00
..
accessibility
acpi PCI: PCIe AER: honor ACPI HEST FIRMWARE FIRST mode 2009-11-04 13:06:25 -08:00
amba
ata
atm
auxdisplay
base
block xen: move Xen-testing predicates to common header 2009-11-04 08:47:24 -08:00
bluetooth
cdrom
char xen: move Xen-testing predicates to common header 2009-11-04 08:47:24 -08:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac
eisa
firewire
firmware
gpio
gpu
hid
hwmon
i2c
ide
idle
ieee1394
ieee802154
infiniband
input xen: move Xen-testing predicates to common header 2009-11-04 08:47:24 -08:00
isdn
leds
lguest
macintosh
mca
md
media
memstick
message
mfd
misc
mmc
mtd
net xen: move Xen-testing predicates to common header 2009-11-04 08:47:24 -08:00
nubus
of
oprofile
parisc
parport
pci PCI: cache PCIe capability offset 2009-11-06 13:59:02 -08:00
pcmcia pccard: configure CLS on attach 2009-11-04 08:47:11 -08:00
platform
pnp vsprintf: use %pR, %pr instead of %pRt, %pRf 2009-11-04 13:06:41 -08:00
power
pps
ps3
rapidio
regulator
rtc
s390
sbus
scsi
serial
sfi
sh
sn
spi
ssb
staging
tc
telephony
thermal
uio
usb
uwb
video xen: move Xen-testing predicates to common header 2009-11-04 08:47:24 -08:00
virtio
vlynq
w1
watchdog
xen xen: move Xen-testing predicates to common header 2009-11-04 08:47:24 -08:00
zorro
Kconfig
Makefile