brcm63xx cleanups; add a watchdog driver, indent serial console driver, add support...
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx-2.6 / files / arch / mips / bcm963xx / irq.c
index a606838f338cde6cf2a58bc38e018cfe89e3fc64..962cd374dd8df193d02286d3ca3c0a51cd60bd44 100644 (file)
@@ -237,14 +237,14 @@ unsigned int BcmHalMapInterrupt(FN_HANDLER pfunc, unsigned int param,
        irq_desc[interruptId].chip = &brcm_irq_no_end_type;
 
        if( interruptId >= INTERNAL_ISR_TABLE_OFFSET )
-       {
-               nRet = request_irq( interruptId, pfunc, SA_SAMPLE_RANDOM | SA_INTERRUPT,
-                       devname, (void *) param );
+       {       
+               printk("BcmHalMapInterrupt : internal IRQ\n");
+               nRet = request_irq( interruptId, pfunc, SA_SAMPLE_RANDOM | SA_INTERRUPT, devname, (void *) param );
        }
        else if (interruptId >= INTERRUPT_ID_EXTERNAL_0 && interruptId <= INTERRUPT_ID_EXTERNAL_3)
        {
-               nRet = request_external_irq( interruptId, pfunc, SA_SAMPLE_RANDOM | SA_INTERRUPT,
-                       devname, (void *) param );
+               printk("BcmHalMapInterrupt : external IRQ\n");
+               nRet = request_external_irq( interruptId, pfunc, SA_SAMPLE_RANDOM | SA_INTERRUPT, devname, (void *) param );
        }
 
        return( nRet );