summaryrefslogtreecommitdiffstats
path: root/include/linux/msi.h
diff options
context:
space:
mode:
authorLucas Stach2015-09-18 20:58:34 +0200
committerBjorn Helgaas2015-09-18 20:58:34 +0200
commit339e5b44eda2150baad183def6b7030fad5ec44e (patch)
treedd2bc451f26ec360960b1861441397352bfea109 /include/linux/msi.h
parentPCI: designware: Fix PORT_LOGIC_LINK_WIDTH_MASK (diff)
downloadkernel-qcow2-linux-339e5b44eda2150baad183def6b7030fad5ec44e.tar.gz
kernel-qcow2-linux-339e5b44eda2150baad183def6b7030fad5ec44e.tar.xz
kernel-qcow2-linux-339e5b44eda2150baad183def6b7030fad5ec44e.zip
PCI: Add msi_controller setup_irqs() method for special multivector setup
Add a msi_controller setup_irqs() method so MSI chip providers can implement their own multivector MSI setup. [bhelgaas: changelog] Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Reviewed-by: Pratyush Anand <pratyush.anand@gmail.com>
Diffstat (limited to 'include/linux/msi.h')
-rw-r--r--include/linux/msi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/msi.h b/include/linux/msi.h
index ad939d0ba816..0be5db110bfa 100644
--- a/include/linux/msi.h
+++ b/include/linux/msi.h
@@ -163,6 +163,8 @@ struct msi_controller {
int (*setup_irq)(struct msi_controller *chip, struct pci_dev *dev,
struct msi_desc *desc);
+ int (*setup_irqs)(struct msi_controller *chip, struct pci_dev *dev,
+ int nvec, int type);
void (*teardown_irq)(struct msi_controller *chip, unsigned int irq);
};