diff options
author | Alexander Gordeev <agordeev@redhat.com> | 2014-02-13 10:48:02 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2014-02-13 10:48:02 -0700 |
commit | 3ce4e860e578f843db36a1f7357ba00aeaa7610f (patch) | |
tree | 5ab6d5d5db55c65646e4cce6ce0c17e1d87fc203 /fs | |
parent | 13f9653dab9a5d350a560c435a0f3d90ff7905ef (diff) | |
download | blackbird-op-linux-3ce4e860e578f843db36a1f7357ba00aeaa7610f.tar.gz blackbird-op-linux-3ce4e860e578f843db36a1f7357ba00aeaa7610f.zip |
PCI/MSI: Add pci_enable_msi_exact() and pci_enable_msix_exact()
The new functions are special cases for pci_enable_msi_range() and
pci_enable_msix_range() when a particular number of MSI or MSI-X
is needed.
By contrast with pci_enable_msi_range() and pci_enable_msix_range()
functions, pci_enable_msi_exact() and pci_enable_msix_exact()
return zero in case of success, which indicates MSI or MSI-X
interrupts have been successfully allocated.
Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions