From 3ebc20ac9e4248abcb38db30054756a0688faf2d Mon Sep 17 00:00:00 2001 From: hauke Date: Thu, 3 Jan 2013 01:55:34 +0000 Subject: brcm47xx: improve IRQ handling for bcma based devices This was party inspirited by patches send by Nathan Hintz git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34989 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../182-bcma-make-some-info-messages-debug.patch | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 target/linux/brcm47xx/patches-3.6/182-bcma-make-some-info-messages-debug.patch (limited to 'target/linux/brcm47xx/patches-3.6/182-bcma-make-some-info-messages-debug.patch') diff --git a/target/linux/brcm47xx/patches-3.6/182-bcma-make-some-info-messages-debug.patch b/target/linux/brcm47xx/patches-3.6/182-bcma-make-some-info-messages-debug.patch new file mode 100644 index 000000000..3506fe55a --- /dev/null +++ b/target/linux/brcm47xx/patches-3.6/182-bcma-make-some-info-messages-debug.patch @@ -0,0 +1,40 @@ +--- a/drivers/bcma/driver_mips.c ++++ b/drivers/bcma/driver_mips.c +@@ -144,8 +144,8 @@ static void bcma_core_mips_set_irq(struc + 1 << irqflag); + } + +- bcma_info(bus, "set_irq: core 0x%04x, irq %d => %d\n", +- dev->id.id, oldirq + 2, irq + 2); ++ bcma_debug(bus, "set_irq: core 0x%04x, irq %d => %d\n", ++ dev->id.id, oldirq + 2, irq + 2); + } + + static void bcma_core_mips_set_irq_name(struct bcma_bus *bus, unsigned int irq, +@@ -168,7 +168,7 @@ static void bcma_core_mips_print_irq(str + { + int i; + static const char *irq_name[] = {"2(S)", "3", "4", "5", "6", "D", "I"}; +- printk(KERN_INFO KBUILD_MODNAME ": core 0x%04x, irq :", dev->id.id); ++ printk(KERN_DEBUG KBUILD_MODNAME ": core 0x%04x, irq :", dev->id.id); + for (i = 0; i <= 6; i++) + printk(" %s%s", irq_name[i], i == irq ? "*" : " "); + printk("\n"); +@@ -270,7 +270,7 @@ void bcma_core_mips_init(struct bcma_drv + if (mcore->setup_done) + return; + +- bcma_info(bus, "Initializing MIPS core...\n"); ++ bcma_debug(bus, "Initializing MIPS core...\n"); + + bcma_core_mips_early_init(mcore); + +@@ -315,7 +315,7 @@ void bcma_core_mips_init(struct bcma_drv + "Unknown device (0x%x) found, can not configure IRQs\n", + bus->chipinfo.id); + } +- bcma_info(bus, "IRQ reconfiguration done\n"); ++ bcma_debug(bus, "IRQ reconfiguration done\n"); + bcma_core_mips_dump_irq(bus); + + mcore->setup_done = true; -- cgit v1.2.3