Commit 7c2332b8 authored by Rafał Miłecki's avatar Rafał Miłecki Committed by John W. Linville

b43: HT-PHY: make it BCMA-only

HT-PHY was found only on BCM4331 which is a BCMA-based chipset. This is
reallly unlikely we will ever see HT-PHY on SSB thus make the whole code
BCMA specific. This will allow us to call various BCMA-specific
functions directly (without extra checks).
Signed-off-by: default avatarRafał Miłecki <zajec5@gmail.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent ef95e58d
...@@ -131,7 +131,7 @@ config B43_PHY_LP ...@@ -131,7 +131,7 @@ config B43_PHY_LP
config B43_PHY_HT config B43_PHY_HT
bool "Support for HT-PHY (high throughput) devices" bool "Support for HT-PHY (high throughput) devices"
depends on B43 depends on B43 && B43_BCMA
---help--- ---help---
Support for the HT-PHY. Support for the HT-PHY.
......
...@@ -346,6 +346,11 @@ static int b43_phy_ht_op_init(struct b43_wldev *dev) ...@@ -346,6 +346,11 @@ static int b43_phy_ht_op_init(struct b43_wldev *dev)
u16 tmp; u16 tmp;
u16 clip_state[3]; u16 clip_state[3];
if (dev->dev->bus_type != B43_BUS_BCMA) {
b43err(dev->wl, "HT-PHY is supported only on BCMA bus!\n");
return -EOPNOTSUPP;
}
b43_phy_ht_tables_init(dev); b43_phy_ht_tables_init(dev);
b43_phy_mask(dev, 0x0be, ~0x2); b43_phy_mask(dev, 0x0be, ~0x2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment