diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2011-08-08 08:30:55 -0400 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-09-19 19:19:55 -0400 |
commit | f9a71e0fd1b44148d7af6ce2fecfb2cf7a4df636 (patch) | |
tree | 1154460114422872f7a02ad086726e7b23740135 /arch/powerpc/platforms/wsp/ics.h | |
parent | f352c7251255effe6c2326190f1378adbd142aa3 (diff) |
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 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); | |||
17 | extern int wsp_ics_alloc_irq(struct device_node *dn, int num); | 17 | extern int wsp_ics_alloc_irq(struct device_node *dn, int num); |
18 | extern void wsp_ics_free_irq(struct device_node *dn, unsigned int irq); | 18 | extern void wsp_ics_free_irq(struct device_node *dn, unsigned int irq); |
19 | 19 | ||
20 | #ifdef CONFIG_PCI_MSI | ||
21 | extern void wsp_ics_set_msi_chip(unsigned int irq); | ||
22 | extern void wsp_ics_set_std_chip(unsigned int irq); | ||
23 | #endif /* CONFIG_PCI_MSI */ | ||
24 | |||
20 | #endif /* __ICS_H */ | 25 | #endif /* __ICS_H */ |