aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/main.c
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2011-07-07 09:25:27 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-07-08 11:11:25 -0400
commit1d738e64f3d957d56c1b51e64ebdef986a8760e3 (patch)
tree15bc3db421bd44c031b58bd4953d69c91fc081eb /drivers/net/wireless/b43/main.c
parent0cd20a278e1ef9da9f6a987942794c9d65af8c4d (diff)
b43: LCN-PHY add place for new PHY support
LCN-PHY was found in 14e4:4727 card. It uses LCN/1 and 0x2064/1 radio. 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.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c
index bff08707c430..5a3454ab038d 100644
--- a/drivers/net/wireless/b43/main.c
+++ b/drivers/net/wireless/b43/main.c
@@ -4205,6 +4205,12 @@ static int b43_phy_versioning(struct b43_wldev *dev)
4205 unsupported = 1; 4205 unsupported = 1;
4206 break; 4206 break;
4207#endif 4207#endif
4208#ifdef CONFIG_B43_PHY_LCN
4209 case B43_PHYTYPE_LCN:
4210 if (phy_rev > 1)
4211 unsupported = 1;
4212 break;
4213#endif
4208 default: 4214 default:
4209 unsupported = 1; 4215 unsupported = 1;
4210 }; 4216 };
@@ -4285,6 +4291,10 @@ static int b43_phy_versioning(struct b43_wldev *dev)
4285 if (radio_ver != 0x2059) 4291 if (radio_ver != 0x2059)
4286 unsupported = 1; 4292 unsupported = 1;
4287 break; 4293 break;
4294 case B43_PHYTYPE_LCN:
4295 if (radio_ver != 0x2064)
4296 unsupported = 1;
4297 break;
4288 default: 4298 default:
4289 B43_WARN_ON(1); 4299 B43_WARN_ON(1);
4290 } 4300 }