summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/mpc8260.h
diff options
context:
space:
mode:
authorVitaly Bordug <vbordug@ru.mvista.com>2007-01-31 02:08:54 +0300
committerPaul Mackerras <paulus@samba.org>2007-02-07 14:03:20 +1100
commit73844ecbaa58885c5e89af7d1b08faaffffa6833 (patch)
treedf2a4f20261e2cf348347786362dff0701e54359 /include/asm-powerpc/mpc8260.h
parentc19cdcb1b8d33a20d372191eced2def7f901806b (diff)
downloadlinux-73844ecbaa58885c5e89af7d1b08faaffffa6833.tar.gz
linux-73844ecbaa58885c5e89af7d1b08faaffffa6833.tar.bz2
linux-73844ecbaa58885c5e89af7d1b08faaffffa6833.zip
[POWERPC] cpm2: CPM2 interrupt controller fix
This contains important fixes for the CPM2 PIC code. Eliminated CPM_IRQ_OFFSET, pulling the respective interrupt numbers from the interrupt mapping. Updated devicetree files to reflect that. Changed direct IC-related IO accesses to the IO accessors. Fixed all the sense values to keep coherency with ipic. In the current code, CPM2 stuff will have no IRQs and hence could be hardly usable. Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'include/asm-powerpc/mpc8260.h')
-rw-r--r--include/asm-powerpc/mpc8260.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/asm-powerpc/mpc8260.h b/include/asm-powerpc/mpc8260.h
new file mode 100644
index 000000000000..f1b83b09ab2e
--- /dev/null
+++ b/include/asm-powerpc/mpc8260.h
@@ -0,0 +1,24 @@
+/*
+ * Since there are many different boards and no standard configuration,
+ * we have a unique include file for each. Rather than change every
+ * file that has to include MPC8260 configuration, they all include
+ * this one and the configuration switching is done here.
+ */
+#ifdef __KERNEL__
+#ifndef __ASM_PPC_MPC8260_H__
+#define __ASM_PPC_MPC8260_H__
+
+
+#ifdef CONFIG_8260
+
+#if defined(CONFIG_PQ2ADS) || defined (CONFIG_PQ2FADS)
+#include <platforms/82xx/pq2ads.h>
+#endif
+
+#ifdef CONFIG_PCI_8260
+#include <platforms/82xx/m82xx_pci.h>
+#endif
+
+#endif /* CONFIG_8260 */
+#endif /* !__ASM_PPC_MPC8260_H__ */
+#endif /* __KERNEL__ */