diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2011-08-08 12:30:55 (GMT) |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-09-19 23:19:55 (GMT) |
commit | f9a71e0fd1b44148d7af6ce2fecfb2cf7a4df636 (patch) | |
tree | 1154460114422872f7a02ad086726e7b23740135 /arch/powerpc/platforms/wsp/ics.h | |
parent | f352c7251255effe6c2326190f1378adbd142aa3 (diff) | |
download | linux-fsl-qoriq-f9a71e0fd1b44148d7af6ce2fecfb2cf7a4df636.tar.xz |
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.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/wsp/ics.h b/arch/powerpc/platforms/wsp/ics.h index e34d531..07b644e 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 */ |