commit | d1ac1d2622e8f0fd2a25127a8649d135b54db8a9 | [log] [tgz] |
---|---|---|
author | Alexander Gordeev <agordeev@redhat.com> | Mon Dec 30 08:28:13 2013 +0100 |
committer | Bjorn Helgaas <bhelgaas@google.com> | Fri Jan 03 17:17:55 2014 -0700 |
tree | 9b267fa3c5d97fc9c6c65877a9d493d407258abe | |
parent | 52179dc9edc3b7a2b3bb01cbb1b6c96f6d05fc73 [diff] |
PCI/MSI: Add pci_msi_vec_count() 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>