summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/wsp/ics.h
diff options
context:
space:
mode:
authorMichael Ellerman <michael@ellerman.id.au>2011-08-08 12:30:55 +0000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2011-09-20 09:19:55 +1000
commitf9a71e0fd1b44148d7af6ce2fecfb2cf7a4df636 (patch)
tree1154460114422872f7a02ad086726e7b23740135 /arch/powerpc/platforms/wsp/ics.h
parentf352c7251255effe6c2326190f1378adbd142aa3 (diff)
downloadlinux-f9a71e0fd1b44148d7af6ce2fecfb2cf7a4df636.tar.bz2
powerpc/wsp: Add MSI support for PCI on PowerEN
Based on a patch by Michael Ellerman <michael@ellerman.id.au> Patch was simply forward ported upstream. Jimi Xenidis <jimix@pobox.com> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/platforms/wsp/ics.h')
-rw-r--r--arch/powerpc/platforms/wsp/ics.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/wsp/ics.h b/arch/powerpc/platforms/wsp/ics.h
index e34d53102640..07b644e0cf97 100644
--- a/arch/powerpc/platforms/wsp/ics.h
+++ b/arch/powerpc/platforms/wsp/ics.h
@@ -17,4 +17,9 @@ extern void wsp_init_irq(void);
extern int wsp_ics_alloc_irq(struct device_node *dn, int num);
extern void wsp_ics_free_irq(struct device_node *dn, unsigned int irq);
+#ifdef CONFIG_PCI_MSI
+extern void wsp_ics_set_msi_chip(unsigned int irq);
+extern void wsp_ics_set_std_chip(unsigned int irq);
+#endif /* CONFIG_PCI_MSI */
+
#endif /* __ICS_H */