summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/embedded6xx/hlwd-pic.h
diff options
context:
space:
mode:
authorAlbert Herranz2009-12-12 07:31:47 +0100
committerGrant Likely2009-12-13 06:24:30 +0100
commit9c21025c7845bd32fb76eb38cb512c911930d85d (patch)
tree3e0df3923159c56b53dfa49bfc11dd2942ce508b /arch/powerpc/platforms/embedded6xx/hlwd-pic.h
parentpowerpc: broadway processor support (diff)
downloadkernel-qcow2-linux-9c21025c7845bd32fb76eb38cb512c911930d85d.tar.gz
kernel-qcow2-linux-9c21025c7845bd32fb76eb38cb512c911930d85d.tar.xz
kernel-qcow2-linux-9c21025c7845bd32fb76eb38cb512c911930d85d.zip
powerpc: wii: hollywood interrupt controller support
Add support for the dual interrupt controller included in the "Hollywood" chipset of the Nintendo Wii video game console. This interrupt controller serves both the Broadway processor (as a cascade) and the Starlet processor, and is used to manage interrupts for the non-classic hardware. Signed-off-by: Albert Herranz <albert_herranz@yahoo.es> Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Acked-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/powerpc/platforms/embedded6xx/hlwd-pic.h')
-rw-r--r--arch/powerpc/platforms/embedded6xx/hlwd-pic.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/embedded6xx/hlwd-pic.h b/arch/powerpc/platforms/embedded6xx/hlwd-pic.h
new file mode 100644
index 000000000000..d2e5a092761e
--- /dev/null
+++ b/arch/powerpc/platforms/embedded6xx/hlwd-pic.h
@@ -0,0 +1,22 @@
+/*
+ * arch/powerpc/platforms/embedded6xx/hlwd-pic.h
+ *
+ * Nintendo Wii "Hollywood" interrupt controller support.
+ * Copyright (C) 2009 The GameCube Linux Team
+ * Copyright (C) 2009 Albert Herranz
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ */
+
+#ifndef __HLWD_PIC_H
+#define __HLWD_PIC_H
+
+extern unsigned int hlwd_pic_get_irq(void);
+extern void hlwd_pic_probe(void);
+extern void hlwd_quiesce(void);
+
+#endif