summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGrant Likely <grant.likely@secretlab.ca>2007-10-02 04:15:23 +0200
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>2007-10-03 14:23:14 +0200
commit4dc9783ea9e4d6f97e40b808991b324a4719a837 (patch)
treefa1bf0ba7f841455934306315f6549a98dd267d7 /include
parent[POWERPC] Virtex: Add Kconfig macros for Xilinx Virtex board support (diff)
downloadlinux-4dc9783ea9e4d6f97e40b808991b324a4719a837.tar.xz
linux-4dc9783ea9e4d6f97e40b808991b324a4719a837.zip
[POWERPC] Virtex: add xilinx interrupt controller driver
Adds support for the Xilinx opb-intc interrupt controller Signed-off-by: Grant Likely <grant.likely@secretlab.ca> Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-powerpc/xilinx_intc.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/asm-powerpc/xilinx_intc.h b/include/asm-powerpc/xilinx_intc.h
new file mode 100644
index 000000000000..343612f8fece
--- /dev/null
+++ b/include/asm-powerpc/xilinx_intc.h
@@ -0,0 +1,20 @@
+/*
+ * Xilinx intc external definitions
+ *
+ * Copyright 2007 Secret Lab Technologies Ltd.
+ *
+ * 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 _ASM_POWERPC_XILINX_INTC_H
+#define _ASM_POWERPC_XILINX_INTC_H
+
+#ifdef __KERNEL__
+
+extern void __init xilinx_intc_init_tree(void);
+extern unsigned int xilinx_intc_get_irq(void);
+
+#endif /* __KERNEL__ */
+#endif /* _ASM_POWERPC_XILINX_INTC_H */