|
@@ -4668,7 +4668,7 @@ static int brcms_b_attach(struct brcms_c_info *wlc, struct bcma_device *core,
|
|
brcms_c_coredisable(wlc_hw);
|
|
brcms_c_coredisable(wlc_hw);
|
|
|
|
|
|
/* Match driver "down" state */
|
|
/* Match driver "down" state */
|
|
- bcma_core_pci_down(wlc_hw->d11core->bus);
|
|
|
|
|
|
+ bcma_host_pci_down(wlc_hw->d11core->bus);
|
|
|
|
|
|
/* turn off pll and xtal to match driver "down" state */
|
|
/* turn off pll and xtal to match driver "down" state */
|
|
brcms_b_xtal(wlc_hw, OFF);
|
|
brcms_b_xtal(wlc_hw, OFF);
|
|
@@ -4969,12 +4969,12 @@ static int brcms_b_up_prep(struct brcms_hardware *wlc_hw)
|
|
*/
|
|
*/
|
|
if (brcms_b_radio_read_hwdisabled(wlc_hw)) {
|
|
if (brcms_b_radio_read_hwdisabled(wlc_hw)) {
|
|
/* put SB PCI in down state again */
|
|
/* put SB PCI in down state again */
|
|
- bcma_core_pci_down(wlc_hw->d11core->bus);
|
|
|
|
|
|
+ bcma_host_pci_down(wlc_hw->d11core->bus);
|
|
brcms_b_xtal(wlc_hw, OFF);
|
|
brcms_b_xtal(wlc_hw, OFF);
|
|
return -ENOMEDIUM;
|
|
return -ENOMEDIUM;
|
|
}
|
|
}
|
|
|
|
|
|
- bcma_core_pci_up(wlc_hw->d11core->bus);
|
|
|
|
|
|
+ bcma_host_pci_up(wlc_hw->d11core->bus);
|
|
|
|
|
|
/* reset the d11 core */
|
|
/* reset the d11 core */
|
|
brcms_b_corereset(wlc_hw, BRCMS_USE_COREFLAGS);
|
|
brcms_b_corereset(wlc_hw, BRCMS_USE_COREFLAGS);
|
|
@@ -5171,7 +5171,7 @@ static int brcms_b_down_finish(struct brcms_hardware *wlc_hw)
|
|
|
|
|
|
/* turn off primary xtal and pll */
|
|
/* turn off primary xtal and pll */
|
|
if (!wlc_hw->noreset) {
|
|
if (!wlc_hw->noreset) {
|
|
- bcma_core_pci_down(wlc_hw->d11core->bus);
|
|
|
|
|
|
+ bcma_host_pci_down(wlc_hw->d11core->bus);
|
|
brcms_b_xtal(wlc_hw, OFF);
|
|
brcms_b_xtal(wlc_hw, OFF);
|
|
}
|
|
}
|
|
}
|
|
}
|