kernel: update linux 3.7 to 3.7.3
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.7 / 025-bcma_backport.patch
index fa0ff316183f2ad311039d5b9a0f14ad9148372c..4bd1b11f390790254534e662b8bf557cff3c5f69 100644 (file)
  }
  EXPORT_SYMBOL(bcma_core_mips_irq);
  
-@@ -114,8 +121,8 @@ static void bcma_core_mips_set_irq(struc
+@@ -114,7 +121,7 @@ static void bcma_core_mips_set_irq(struc
                bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0),
                            bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) &
                            ~(1 << irqflag));
 -      else
--              bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(irq), 0);
 +      else if (oldirq != 5)
-+              bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(oldirq), 0);
+               bcma_write32(mdev, BCMA_MIPS_MIPS74K_INTMASK(oldirq), 0);
  
        /* assign the new one */
-       if (irq == 0) {
 @@ -123,9 +130,9 @@ static void bcma_core_mips_set_irq(struc
                            bcma_read32(mdev, BCMA_MIPS_MIPS74K_INTMASK(0)) |
                            (1 << irqflag));
  #endif /* LINUX_BCMA_REGS_H_ */
 --- a/drivers/net/wireless/b43/main.c
 +++ b/drivers/net/wireless/b43/main.c
-@@ -4656,7 +4656,7 @@ static int b43_wireless_core_init(struct
+@@ -4684,7 +4684,7 @@ static int b43_wireless_core_init(struct
        switch (dev->dev->bus_type) {
  #ifdef CONFIG_B43_BCMA
        case B43_BUS_BCMA: