summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/main.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2014-06-20 17:22:00 +0200
committerJohn W. Linville <linville@tuxdriver.com>2014-06-20 14:13:45 -0400
commitbba4d409cbd322a0b78768a6dda013baed2b5a36 (patch)
treeb8359ff06c973846fe121c583c0aadf2ea69af7a /drivers/net/wireless/b43/main.c
parente48b1790907c960b9d4f28cf7da9e0c25c5d02df (diff)
downloadop-kernel-dev-bba4d409cbd322a0b78768a6dda013baed2b5a36.zip
op-kernel-dev-bba4d409cbd322a0b78768a6dda013baed2b5a36.tar.gz
b43: remove leftover code from old devices support
Old devices (A-PHY or B-PHY) are supposed to be supported by b43legacy. We keep phy_a.c as it's needed for G-PHY which shares some design. 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.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index 4b662d0..4164afa 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -4306,15 +4306,6 @@ 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) {
- case B43_PHYTYPE_A:
- if (phy_rev >= 4)
- unsupported = 1;
- break;
- case B43_PHYTYPE_B:
- if (phy_rev != 2 && phy_rev != 4 && phy_rev != 6
- && phy_rev != 7)
- unsupported = 1;
- break;
case B43_PHYTYPE_G:
if (phy_rev > 9)
unsupported = 1;
OpenPOWER on IntegriCloud