]> err.no Git - linux-2.6/commitdiff
[POWERPC] pasemi: Reset mpic on boot
authorOlof Johansson <olof@lixom.net>
Mon, 16 Apr 2007 06:28:38 +0000 (16:28 +1000)
committerPaul Mackerras <paulus@samba.org>
Tue, 24 Apr 2007 11:31:50 +0000 (21:31 +1000)
Reset MPIC on boot to clear some timer state that firmware might
leave configured.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pasemi/setup.c

index 32a614cacf2483f2f1d398eb3deafcf8f224c71a..ffd96e94748102589c69cb3a9d82dbd4c73048fb 100644 (file)
@@ -147,7 +147,7 @@ static __init void pas_init_IRQ(void)
        printk(KERN_DEBUG "OpenPIC addr: %lx\n", openpic_addr);
 
        mpic = mpic_alloc(mpic_node, openpic_addr,
-                         MPIC_PRIMARY|MPIC_LARGE_VECTORS,
+                         MPIC_PRIMARY|MPIC_LARGE_VECTORS|MPIC_WANTS_RESET,
                          0, 0, " PAS-OPIC  ");
        BUG_ON(!mpic);