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)
commit55db3208f238ee776f1f747734051723d8a3c13e
treeee168a99ac30c859d8158de29be3b25e4ab8078f
parent387d37577fdd05e9472c20885464c2a53b3c945f
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