Files
linux/Documentation
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
..
2011-09-27 18:08:04 +02:00
2012-04-03 13:09:18 +02:00
2011-09-27 18:08:04 +02:00
2013-04-02 09:39:55 -07:00
2013-10-17 21:18:32 +02:00
2013-07-24 22:06:34 -07:00
2011-03-31 11:26:23 -03:00
2013-01-10 01:27:46 +01:00
2014-01-03 17:17:55 -07:00
2013-07-25 12:34:15 +02:00
2013-10-16 13:35:02 -07:00
2011-03-31 11:26:23 -03:00
2013-11-14 11:04:40 -08:00
2012-07-29 21:11:05 -03:00
2013-09-25 12:34:32 +01:00
2013-04-16 18:47:19 +09:00
2012-12-05 23:52:10 +00:00
2011-03-31 11:26:23 -03:00
2011-09-27 18:08:04 +02:00
2012-02-28 16:05:06 +01:00
2013-10-24 10:51:33 +02:00
2011-09-27 18:08:04 +02:00
2011-03-31 11:26:23 -03:00
2013-09-05 16:36:21 -06:00
2012-01-02 13:04:55 +01:00