diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2010-01-15 10:38:07 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-15 17:05:44 -0500 |
commit | 730dd70549e0ec755dd55615ba5cfc38a482a947 (patch) | |
tree | c6aed39b3d247d475bd515a05eb9c9a05269d152 /drivers/net/wireless/b43 | |
parent | 6dcd9d911cace479ff5612dab3896c8fceb60773 (diff) |
b43: N-PHY: drop unused definition, uncomment needed call
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')
-rw-r--r-- | drivers/net/wireless/b43/phy_n.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c index a0e8283519fd..4a817e3da163 100644 --- a/drivers/net/wireless/b43/phy_n.c +++ b/drivers/net/wireless/b43/phy_n.c | |||
@@ -222,12 +222,6 @@ void b43_nphy_radio_turn_off(struct b43_wldev *dev) | |||
222 | ~B43_NPHY_RFCTL_CMD_EN); | 222 | ~B43_NPHY_RFCTL_CMD_EN); |
223 | } | 223 | } |
224 | 224 | ||
225 | #define ntab_upload(dev, offset, data) do { \ | ||
226 | unsigned int i; \ | ||
227 | for (i = 0; i < (offset##_SIZE); i++) \ | ||
228 | b43_ntab_write(dev, (offset) + i, (data)[i]); \ | ||
229 | } while (0) | ||
230 | |||
231 | /* | 225 | /* |
232 | * Upload the N-PHY tables. | 226 | * Upload the N-PHY tables. |
233 | * http://bcm-v4.sipsolutions.net/802.11/PHY/N/InitTables | 227 | * http://bcm-v4.sipsolutions.net/802.11/PHY/N/InitTables |
@@ -2021,11 +2015,11 @@ int b43_phy_initn(struct b43_wldev *dev) | |||
2021 | b43_nphy_workarounds(dev); | 2015 | b43_nphy_workarounds(dev); |
2022 | 2016 | ||
2023 | /* Reset CCA, in init code it differs a little from standard way */ | 2017 | /* Reset CCA, in init code it differs a little from standard way */ |
2024 | /* b43_nphy_bmac_clock_fgc(dev, 1); */ | 2018 | b43_nphy_bmac_clock_fgc(dev, 1); |
2025 | tmp = b43_phy_read(dev, B43_NPHY_BBCFG); | 2019 | tmp = b43_phy_read(dev, B43_NPHY_BBCFG); |
2026 | b43_phy_write(dev, B43_NPHY_BBCFG, tmp | B43_NPHY_BBCFG_RSTCCA); | 2020 | b43_phy_write(dev, B43_NPHY_BBCFG, tmp | B43_NPHY_BBCFG_RSTCCA); |
2027 | b43_phy_write(dev, B43_NPHY_BBCFG, tmp & ~B43_NPHY_BBCFG_RSTCCA); | 2021 | b43_phy_write(dev, B43_NPHY_BBCFG, tmp & ~B43_NPHY_BBCFG_RSTCCA); |
2028 | /* b43_nphy_bmac_clock_fgc(dev, 0); */ | 2022 | b43_nphy_bmac_clock_fgc(dev, 0); |
2029 | 2023 | ||
2030 | /* TODO N PHY MAC PHY Clock Set with argument 1 */ | 2024 | /* TODO N PHY MAC PHY Clock Set with argument 1 */ |
2031 | 2025 | ||