PCIE core on Linksys E3000 should be assigned to IRQ6 (MIPS IRQ4); however,
the check "core->irq > 5" prevents bcma_core_mips_set_irq from being called.
Changing the check to "core->irq > 6" corrects this; however, in doing so,
the check becomes superfluous as "mips_irq" is never greater than 4.  The
check should simply be removed.

Signed-off-by: Nathan Hintz <[email protected]>

--- /dev/null
+++ target/linux/brcm47xx/patches-3.6/236-bcma-enable-irq6.patch
@@ -0,0 +1,12 @@
+--- a/drivers/bcma/driver_mips.c
++++ b/drivers/bcma/driver_mips.c
+@@ -275,8 +275,7 @@ void bcma_core_mips_init(struct bcma_drv
+                       core->irq = 0;
+               else
+                       core->irq = mips_irq + 2;
+-              if (core->irq > 5)
+-                      continue;
++
+               switch (core->id.id) {
+               case BCMA_CORE_PCI:
+               case BCMA_CORE_PCIE:


_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to