2012-10-25 17:33:47 +03:00
|
|
|
--- a/drivers/net/wireless/b43/main.c
|
|
|
|
+++ b/drivers/net/wireless/b43/main.c
|
2012-10-26 00:41:52 +03:00
|
|
|
@@ -4645,7 +4645,7 @@ static int b43_wireless_core_init(struct
|
2012-10-25 17:33:47 +03:00
|
|
|
switch (dev->dev->bus_type) {
|
|
|
|
#ifdef CONFIG_B43_BCMA
|
|
|
|
case B43_BUS_BCMA:
|
|
|
|
- bcma_core_pci_irq_ctl(&dev->dev->bdev->bus->drv_pci,
|
|
|
|
+ bcma_core_pci_irq_ctl(&dev->dev->bdev->bus->drv_pci[0],
|
|
|
|
dev->dev->bdev, true);
|
|
|
|
break;
|
|
|
|
#endif
|
|
|
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c
|
|
|
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/aiutils.c
|
2012-10-26 00:41:52 +03:00
|
|
|
@@ -697,7 +697,7 @@ void ai_pci_up(struct si_pub *sih)
|
2012-10-25 17:33:47 +03:00
|
|
|
sii = container_of(sih, struct si_info, pub);
|
|
|
|
|
|
|
|
if (sii->icbus->hosttype == BCMA_HOSTTYPE_PCI)
|
|
|
|
- bcma_core_pci_extend_L1timer(&sii->icbus->drv_pci, true);
|
|
|
|
+ bcma_core_pci_extend_L1timer(&sii->icbus->drv_pci[0], true);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Unconfigure and/or apply various WARs when going down */
|
2012-10-26 00:41:52 +03:00
|
|
|
@@ -708,7 +708,7 @@ void ai_pci_down(struct si_pub *sih)
|
2012-10-25 17:33:47 +03:00
|
|
|
sii = container_of(sih, struct si_info, pub);
|
|
|
|
|
|
|
|
if (sii->icbus->hosttype == BCMA_HOSTTYPE_PCI)
|
|
|
|
- bcma_core_pci_extend_L1timer(&sii->icbus->drv_pci, false);
|
|
|
|
+ bcma_core_pci_extend_L1timer(&sii->icbus->drv_pci[0], false);
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Enable BT-COEX & Ex-PA for 4313 */
|
|
|
|
--- a/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
|
|
|
+++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c
|
2012-10-26 00:41:52 +03:00
|
|
|
@@ -5079,7 +5079,7 @@ static int brcms_b_up_prep(struct brcms_
|
2012-10-25 17:33:47 +03:00
|
|
|
* Configure pci/pcmcia here instead of in brcms_c_attach()
|
|
|
|
* to allow mfg hotswap: down, hotswap (chip power cycle), up.
|
|
|
|
*/
|
|
|
|
- bcma_core_pci_irq_ctl(&wlc_hw->d11core->bus->drv_pci, wlc_hw->d11core,
|
|
|
|
+ bcma_core_pci_irq_ctl(&wlc_hw->d11core->bus->drv_pci[0], wlc_hw->d11core,
|
|
|
|
true);
|
|
|
|
|
|
|
|
/*
|