diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2014-06-20 17:22:01 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-06-20 14:13:46 -0400 |
commit | 418378fed0506b5ec0b43c03bc11929ec1f88073 (patch) | |
tree | 0ac941b24dc04c6ae1f4b2ce5e286ac03edeb047 /drivers/net/wireless/b43/main.c | |
parent | bba4d409cbd322a0b78768a6dda013baed2b5a36 (diff) | |
download | op-kernel-dev-418378fed0506b5ec0b43c03bc11929ec1f88073.zip op-kernel-dev-418378fed0506b5ec0b43c03bc11929ec1f88073.tar.gz |
b43: add config for (en|dis)abling G-PHY support
This allows new devices users to save some space.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/main.c')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 4164afa..9cf07bb 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c @@ -4306,10 +4306,12 @@ static int b43_phy_versioning(struct b43_wldev *dev) phy_type = (tmp & B43_PHYVER_TYPE) >> B43_PHYVER_TYPE_SHIFT; phy_rev = (tmp & B43_PHYVER_VERSION); switch (phy_type) { +#ifdef CONFIG_B43_PHY_G case B43_PHYTYPE_G: if (phy_rev > 9) unsupported = 1; break; +#endif #ifdef CONFIG_B43_PHY_N case B43_PHYTYPE_N: if (phy_rev > 9) |