aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/phy_lp.c
diff options
context:
space:
mode:
authorGábor Stefanik <netrolller.3d@gmail.com>2009-08-16 14:08:13 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-08-20 11:35:57 -0400
commit7e4d8529921004014bef21a2031b6c3478339a2a (patch)
tree4b7b90cf78bc9a681e820ee784e85431d78a1059 /drivers/net/wireless/b43/phy_lp.c
parented07c4b3af341bad3fa29558f08b166220014ca7 (diff)
b43: LP-PHY: Update B2062 radio init with recent spec changes
The spec for initializing the B2062 radio have changed recently, update the code to match the changes. Signed-off-by: Gábor Stefanik <netrolller.3d@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/phy_lp.c')
-rw-r--r--drivers/net/wireless/b43/phy_lp.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/phy_lp.c b/drivers/net/wireless/b43/phy_lp.c
index 4553e4073958..faca56f908ef 100644
--- a/drivers/net/wireless/b43/phy_lp.c
+++ b/drivers/net/wireless/b43/phy_lp.c
@@ -537,10 +537,15 @@ static void lpphy_2062_init(struct b43_wldev *dev)
537 b43_radio_write(dev, B2062_N_TX_CTL3, 0); 537 b43_radio_write(dev, B2062_N_TX_CTL3, 0);
538 b43_radio_write(dev, B2062_N_TX_CTL4, 0); 538 b43_radio_write(dev, B2062_N_TX_CTL4, 0);
539 b43_radio_write(dev, B2062_N_TX_CTL5, 0); 539 b43_radio_write(dev, B2062_N_TX_CTL5, 0);
540 b43_radio_write(dev, B2062_N_TX_CTL6, 0);
540 b43_radio_write(dev, B2062_N_PDN_CTL0, 0x40); 541 b43_radio_write(dev, B2062_N_PDN_CTL0, 0x40);
541 b43_radio_write(dev, B2062_N_PDN_CTL0, 0); 542 b43_radio_write(dev, B2062_N_PDN_CTL0, 0);
542 b43_radio_write(dev, B2062_N_CALIB_TS, 0x10); 543 b43_radio_write(dev, B2062_N_CALIB_TS, 0x10);
543 b43_radio_write(dev, B2062_N_CALIB_TS, 0); 544 b43_radio_write(dev, B2062_N_CALIB_TS, 0);
545 if (dev->phy.rev > 0) {
546 b43_radio_write(dev, B2062_S_BG_CTL1,
547 (b43_radio_read(dev, B2062_N_COMM2) >> 1) | 0x80);
548 }
544 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ) 549 if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ)
545 b43_radio_set(dev, B2062_N_TSSI_CTL0, 0x1); 550 b43_radio_set(dev, B2062_N_TSSI_CTL0, 0x1);
546 else 551 else