linux/Documentation/PCI
Alexander Gordeev ff1aa430a2 PCI/MSI: Add pci_msix_vec_count()
This creates an MSI-X counterpart for pci_msi_vec_count().  Device drivers
can use this function to obtain maximum number of MSI-X interrupts the
device supports and use that number in a subsequent call to
pci_enable_msix().

pci_msix_vec_count() supersedes pci_msix_table_size() and returns a
negative errno if device does not support MSI-X interrupts.  After this
update, callers must always check the returned value.

The only user of pci_msix_table_size() was the PCI-Express port driver,
which is also updated by this change.

Signed-off-by: Alexander Gordeev <agordeev@redhat.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Tejun Heo <tj@kernel.org>
2014-01-03 17:17:55 -07:00
..
00-INDEX Create/use more directory structure in the Documentation/ tree. 2008-11-14 17:28:53 +00:00
MSI-HOWTO.txt PCI/MSI: Add pci_msix_vec_count() 2014-01-03 17:17:55 -07:00
pci-error-recovery.txt Documentation/: it's -> its where appropriate 2010-04-23 02:09:52 +02:00
pci-iov-howto.txt Documentation: remove __dev* attributes. 2013-01-03 15:57:16 -08:00
pci.txt PCI: Update pci_find_slot() description in pci.txt 2013-09-25 15:43:33 -06:00
pcieaer-howto.txt PCI: aerdrv: introduce default_downstream_reset_link 2010-05-11 12:01:38 -07:00
PCIEBUS-HOWTO.txt PCI: Documentation: fix minor PCIe HOWTO thinko 2009-02-13 13:59:19 -08:00