PCI/MSI: Introduce pci_msix_table_size()
authorRafael J. Wysocki <rjw@sisk.pl>
Fri, 23 Jan 2009 23:21:14 +0000 (00:21 +0100)
committerJesse Barnes <jbarnes@hobbes.lan>
Fri, 20 Mar 2009 02:29:25 +0000 (19:29 -0700)
commita52e2e3513d4beafe8fe8699f1519b021c2d05ba
tree4a2aea26275e0ffe58e53629e50696b559b8c6e0
parenta447b772826fde2a3abfd9bb943dee8750994c55
PCI/MSI: Introduce pci_msix_table_size()

Introduce new function pci_msix_table_size() returning the size of
the MSI-X table of given PCI device or 0 if the device doesn't
support MSI-X.

Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Reviewed-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
drivers/pci/msi.c
include/linux/pci.h