aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/mv64x60.h
diff options
context:
space:
mode:
authorDale Farnsworth <dale@farnsworth.org>2007-05-12 10:55:24 +1000
committerPaul Mackerras <paulus@samba.org>2007-05-12 11:32:49 +1000
commite44b8941908ec9ccf03b52713c9e7d3471bada8c (patch)
tree750f6cf76959a64592223b32d11883bb04b8aba1 /arch/powerpc/sysdev/mv64x60.h
parentae4b3fbc7a91ea4e5685edb0310bb185a12e5943 (diff)
[POWERPC] Add interrupt support for Marvell mv64x60 chips
There are 3 interrupt groups each with its own status/mask registers. We use a separate struct irq_chip for each interrupt group and handle interrupts in two stages or levels: level 1 selects the appropriate struct irq_chip, and level 2 selects individual interrupts within that irq_chip. Signed-off-by: Dale Farnsworth <dale@farnsworth.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/mv64x60.h')
-rw-r--r--arch/powerpc/sysdev/mv64x60.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/mv64x60.h b/arch/powerpc/sysdev/mv64x60.h
new file mode 100644
index 000000000000..709003948ae7
--- /dev/null
+++ b/arch/powerpc/sysdev/mv64x60.h
@@ -0,0 +1,9 @@
+#ifndef __MV64X60_H__
+#define __MV64X60_H__
+
+#include <linux/init.h>
+
+extern void __init mv64x60_init_irq(void);
+extern unsigned int mv64x60_get_irq(void);
+
+#endif /* __MV64X60_H__ */