]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - arch/powerpc/platforms/85xx/mpc8544_ds.c
[POWERPC] Reworked interrupt numbers for OpenPIC based Freescale chips
[mv-sheeva.git] / arch / powerpc / platforms / 85xx / mpc8544_ds.c
index bec84ffe708e013ed88cabd8b261823da201d2c7..6fb90aab879fc96a895225527ce481a9999b7560 100644 (file)
@@ -61,24 +61,11 @@ void __init mpc8544_ds_pic_init(void)
                return;
        }
 
-       /* Alloc mpic structure and per isu has 16 INT entries. */
        mpic = mpic_alloc(np, r.start,
                          MPIC_PRIMARY | MPIC_WANTS_RESET | MPIC_BIG_ENDIAN,
-                         16, 64, " OPENPIC     ");
+                       0, 256, " OpenPIC  ");
        BUG_ON(mpic == NULL);
 
-       /*
-        * 48 Internal Interrupts
-        */
-       mpic_assign_isu(mpic, 0, r.start + 0x10200);
-       mpic_assign_isu(mpic, 1, r.start + 0x10400);
-       mpic_assign_isu(mpic, 2, r.start + 0x10600);
-
-       /*
-        * 16 External interrupts
-        */
-       mpic_assign_isu(mpic, 3, r.start + 0x10000);
-
        mpic_init(mpic);
 
 #ifdef CONFIG_PPC_I8259