aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/main.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-02-08 11:11:47 -0500
committerKalle Valo <kvalo@codeaurora.org>2015-03-02 09:59:45 -0500
commit4186721d02b71ae943e60bbf50d3488fd5fd6adb (patch)
tree7623f94d3baa042f5090780bb285f5be1e6ff847 /drivers/net/wireless/b43/main.c
parentba8b6ae6e91ed4d866f83b026138cc75a955e101 (diff)
bcma: add helpers bringing PCIe hosted bus up / down
Bringing PCIe hosted bus up requires operating on host-related core. Since we plan to support PCIe Gen 2 devices we should provide a helper picking the correct one (PCIE or PCIE2). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r--drivers/net/wireless/b43/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index ccbdb05b28cd..34065a6f7725 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -4819,7 +4819,7 @@ static void b43_wireless_core_exit(struct b43_wldev *dev)
4819 switch (dev->dev->bus_type) { 4819 switch (dev->dev->bus_type) {
4820#ifdef CONFIG_B43_BCMA 4820#ifdef CONFIG_B43_BCMA
4821 case B43_BUS_BCMA: 4821 case B43_BUS_BCMA:
4822 bcma_core_pci_down(dev->dev->bdev->bus); 4822 bcma_host_pci_down(dev->dev->bdev->bus);
4823 break; 4823 break;
4824#endif 4824#endif
4825#ifdef CONFIG_B43_SSB 4825#ifdef CONFIG_B43_SSB
@@ -4868,7 +4868,7 @@ static int b43_wireless_core_init(struct b43_wldev *dev)
4868 case B43_BUS_BCMA: 4868 case B43_BUS_BCMA:
4869 bcma_core_pci_irq_ctl(&dev->dev->bdev->bus->drv_pci[0], 4869 bcma_core_pci_irq_ctl(&dev->dev->bdev->bus->drv_pci[0],
4870 dev->dev->bdev, true); 4870 dev->dev->bdev, true);
4871 bcma_core_pci_up(dev->dev->bdev->bus); 4871 bcma_host_pci_up(dev->dev->bdev->bus);
4872 break; 4872 break;
4873#endif 4873#endif
4874#ifdef CONFIG_B43_SSB 4874#ifdef CONFIG_B43_SSB