提交 bb519bee 编写于 作者: J Johannes Berg 提交者: John W. Linville

b43: detect N PHY revision/radio

Does nothing unless you enable the hidden N PHY config.
Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 cb33c412
......@@ -3752,7 +3752,7 @@ static int b43_phy_versioning(struct b43_wldev *dev)
break;
#ifdef CONFIG_B43_NPHY
case B43_PHYTYPE_N:
if (phy_rev > 1)
if (phy_rev > 4)
unsupported = 1;
break;
#endif
......@@ -3805,7 +3805,7 @@ static int b43_phy_versioning(struct b43_wldev *dev)
unsupported = 1;
break;
case B43_PHYTYPE_N:
if (radio_ver != 0x2055)
if (radio_ver != 0x2055 && radio_ver != 0x2056)
unsupported = 1;
break;
default:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册