commit | e375b561817d9ae098cc4296a729fc88924a0159 | [log] [tgz] |
---|---|---|
author | Gavin Shan <shangw@linux.vnet.ibm.com> | Thu Apr 04 16:54:30 2013 +0000 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Tue Apr 23 09:50:30 2013 -0600 |
tree | 7cd6f54166d29a1b7c612e407d57ce79b1024610 | |
parent | 703860ed4e36ded696bd44af6107243fdedfb746 [diff] |
PCI: Cache MSI/MSI-X capability offsets in struct pci_dev The patch caches the MSI and MSI-X capability offset in PCI device (struct pci_dev) so that we needn't read it from the config space upon enabling or disabling MSI or MSI-X interrupts. [bhelgaas: moved pm_cap size change to separate patch] Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>