]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Read capability list as dwords, not bytes
authorSean O. Stalley <sean.stalley@intel.com>
Thu, 2 Apr 2015 21:10:19 +0000 (14:10 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 9 Apr 2015 22:01:39 +0000 (17:01 -0500)
commitfbfad92f3f90373101df31b24018ea15ee38e9c9
treeee168a99ac30c859d8158de29be3b25e4ab8078f
parent68ea20fdb6064d927bcb72ebcecb4d8903f22058
PCI: Read capability list as dwords, not bytes

Reading both the capability ID and "next" pointer at the same time lets us
parse the list with half the number of config reads.

Signed-off-by: Sean O. Stalley <sean.stalley@intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.c