vserver 1.9.5.x5
[linux-2.6.git] / arch / ppc / platforms / 4xx / ibm405gp.c
index 70a262a..dfd7ef3 100644 (file)
@@ -22,6 +22,7 @@
 #include <platforms/4xx/ibm405gp.h>
 #include <asm/ibm4xx.h>
 #include <asm/ocp.h>
+#include <asm/ppc4xx_pic.h>
 
 static struct ocp_func_emac_data ibm405gp_emac0_def = {
        .rgmii_idx      = -1,           /* No RGMII */
@@ -109,3 +110,11 @@ struct ocp_def core_ocp[] = {
        { .vendor       = OCP_VENDOR_INVALID
        }
 };
+
+/* Polarity and triggering settings for internal interrupt sources */
+struct ppc4xx_uic_settings ppc4xx_core_uic_cfg[] __initdata = {
+       { .polarity     = 0xffffff80,
+         .triggering   = 0x10000000,
+         .ext_irq_mask = 0x0000007f,   /* IRQ0 - IRQ6 */
+       }
+};