]> git.baikalelectronics.ru Git - kernel.git/commit
PCI: Use cached MSI cap while enabling MSI interrupts
authorGavin Shan <shangw@linux.vnet.ibm.com>
Thu, 4 Apr 2013 16:54:32 +0000 (16:54 +0000)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 23 Apr 2013 15:50:30 +0000 (09:50 -0600)
commite6f990d5bfb617468d2d67dee4685b1349f5469d
tree42cf963af111d5cdbf25b0840a8b83ecb946cb22
parent2edbcdd6d8a3003dd8ef75b0433c471729187f60
PCI: Use cached MSI cap while enabling MSI interrupts

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

[bhelgaas: removed unrelated msi_control_reg() changes]
Signed-off-by: Gavin Shan <shangw@linux.vnet.ibm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/msi.c