summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/sysdev/mv64x60.h
diff options
context:
space:
mode:
authorDale Farnsworth2007-05-12 02:55:24 +0200
committerPaul Mackerras2007-05-12 03:32:49 +0200
commite44b8941908ec9ccf03b52713c9e7d3471bada8c (patch)
tree750f6cf76959a64592223b32d11883bb04b8aba1 /arch/powerpc/sysdev/mv64x60.h
parent[POWERPC] Add bootwrapper support for Marvell/mv64x60 I2C (diff)
downloadkernel-qcow2-linux-e44b8941908ec9ccf03b52713c9e7d3471bada8c.tar.gz
kernel-qcow2-linux-e44b8941908ec9ccf03b52713c9e7d3471bada8c.tar.xz
kernel-qcow2-linux-e44b8941908ec9ccf03b52713c9e7d3471bada8c.zip
[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__ */