PCI/MSI: Add pci_msi_vec_count()
authorAlexander Gordeev <agordeev@redhat.com>
Mon, 30 Dec 2013 07:28:13 +0000 (08:28 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Sat, 4 Jan 2014 00:17:55 +0000 (17:17 -0700)
Device drivers can use this interface to obtain the maximum number of MSI
interrupts the device supports and use that number, e.g., in a subsequent
call to pci_enable_msi_block().

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

Simple merge
Simple merge
Simple merge