]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: Use cached MSI-X cap while enabling MSI-X
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 4 Apr 2013 16:54:33 +0000 (16:54 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Apr 2013 15:50:30 +0000 (09:50 -0600)
commit520fe9dc1b07827d795578037ffd11190767e448
tree342c8a662221606456d33a397d2d11e027d57b97
parentf465136d7287538cabdcdbf8deb24f99a9f855e4
PCI: Use cached MSI-X cap while enabling MSI-X

The patch uses the cached MSI-X capability offset in
pci_dev instead of reading it from config space when enabling
MSI-X interrupts.

Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi.c