提交 730dd705 编写于 作者: R Rafał Miłecki 提交者: John W. Linville

b43: N-PHY: drop unused definition, uncomment needed call

Signed-off-by: NRafał Miłecki <zajec5@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 6dcd9d91
...@@ -222,12 +222,6 @@ void b43_nphy_radio_turn_off(struct b43_wldev *dev) ...@@ -222,12 +222,6 @@ void b43_nphy_radio_turn_off(struct b43_wldev *dev)
~B43_NPHY_RFCTL_CMD_EN); ~B43_NPHY_RFCTL_CMD_EN);
} }
#define ntab_upload(dev, offset, data) do { \
unsigned int i; \
for (i = 0; i < (offset##_SIZE); i++) \
b43_ntab_write(dev, (offset) + i, (data)[i]); \
} while (0)
/* /*
* Upload the N-PHY tables. * Upload the N-PHY tables.
* http://bcm-v4.sipsolutions.net/802.11/PHY/N/InitTables * http://bcm-v4.sipsolutions.net/802.11/PHY/N/InitTables
...@@ -2021,11 +2015,11 @@ int b43_phy_initn(struct b43_wldev *dev) ...@@ -2021,11 +2015,11 @@ int b43_phy_initn(struct b43_wldev *dev)
b43_nphy_workarounds(dev); b43_nphy_workarounds(dev);
/* Reset CCA, in init code it differs a little from standard way */ /* Reset CCA, in init code it differs a little from standard way */
/* b43_nphy_bmac_clock_fgc(dev, 1); */ b43_nphy_bmac_clock_fgc(dev, 1);
tmp = b43_phy_read(dev, B43_NPHY_BBCFG); tmp = b43_phy_read(dev, B43_NPHY_BBCFG);
b43_phy_write(dev, B43_NPHY_BBCFG, tmp | B43_NPHY_BBCFG_RSTCCA); b43_phy_write(dev, B43_NPHY_BBCFG, tmp | B43_NPHY_BBCFG_RSTCCA);
b43_phy_write(dev, B43_NPHY_BBCFG, tmp & ~B43_NPHY_BBCFG_RSTCCA); b43_phy_write(dev, B43_NPHY_BBCFG, tmp & ~B43_NPHY_BBCFG_RSTCCA);
/* b43_nphy_bmac_clock_fgc(dev, 0); */ b43_nphy_bmac_clock_fgc(dev, 0);
/* TODO N PHY MAC PHY Clock Set with argument 1 */ /* TODO N PHY MAC PHY Clock Set with argument 1 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册