]> git.karo-electronics.de Git - linux-beck.git/commit
PCI/MSI: Remove pci_enable_msi_block_auto()
authorAlexander Gordeev <agordeev@redhat.com>
Mon, 30 Dec 2013 07:28:14 +0000 (08:28 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 4 Jan 2014 00:17:55 +0000 (17:17 -0700)
commit7b92b4f61ec49cb1a5813298f35258bd7ecd3667
tree3ca281ebb26a2885ff9ff5fd4e1b15393b6f7c20
parentd1ac1d2622e8f0fd2a25127a8649d135b54db8a9
PCI/MSI: Remove pci_enable_msi_block_auto()

The new pci_msi_vec_count() interface makes pci_enable_msi_block_auto()
superfluous.

Drivers can use pci_msi_vec_count() to learn the maximum number of MSIs
supported by the device, and then call pci_enable_msi_block().

pci_enable_msi_block_auto() was introduced recently, and its only user is
the AHCI driver, which is also updated by this change.

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Tejun Heo <tj@kernel.org>
Documentation/PCI/MSI-HOWTO.txt
drivers/ata/ahci.c
drivers/pci/msi.c
include/linux/pci.h