[POWERPC] PPC440EP Interrupt Triggering and Level Settings
authorWolfgang Ocker <weo@reccoware.de>
Sun, 10 Feb 2008 19:24:02 +0000 (06:24 +1100)
committerJosh Boyer <jwboyer@linux.vnet.ibm.com>
Sat, 16 Feb 2008 03:33:02 +0000 (21:33 -0600)
Corrected IRQ triggering and level settings according to latest revision
of the 440EP User Manual (rev 1.24 nov 16, 2007).

The incorrect settings might cause a failure of the network if both
onchip ethernet ports are under heavy load.

Signed-off-by: Wolfgang Ocker <weo@reccoware.de>
Acked-by: Stefan Roese <sr@denx.de>
Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
arch/ppc/platforms/4xx/ibm440ep.c

index 1fed6638c81fe8e5954c501b1f3cfc63fd03bb55..0de91532aabb9f6a902357ff316f9e7cb5e45af7 100644 (file)
@@ -172,11 +172,11 @@ struct ocp_def core_ocp[] = {
 /* Polarity and triggering settings for internal interrupt sources */
 struct ppc4xx_uic_settings ppc4xx_core_uic_cfg[] __initdata = {
        { .polarity     = 0xffbffe03,
-         .triggering   = 0xfffffe00,
+         .triggering   = 0x00000000,
          .ext_irq_mask = 0x000001fc,   /* IRQ0 - IRQ6 */
        },
-       { .polarity     = 0xffffc6ef,
-         .triggering   = 0xffffc7ff,
+       { .polarity     = 0xffffc6af,
+         .triggering   = 0x06000140,
          .ext_irq_mask = 0x00003800,   /* IRQ7 - IRQ9 */
        },
 };