aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/lo.c
diff options
context:
space:
mode:
authorLarry Finger <Larry.Finger@lwfinger.net>2007-11-09 17:57:18 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:04:42 -0500
commit95de2841aad971867851b59c0c5253ecc2e19832 (patch)
treedf6a79322a1f7b8992d38ca7d02502e0ded31b3f /drivers/net/wireless/b43/lo.c
parent458414b2e3d9dd7ee4510d18c119a7ccd3b43ec5 (diff)
b43: Convert to use of the new SPROM structure
The b43 driver is modified to use the new SPROM structure. Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/lo.c')
-rw-r--r--drivers/net/wireless/b43/lo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/wireless/b43/lo.c b/drivers/net/wireless/b43/lo.c
index 0a50fd584c19..88f35e67e226 100644
--- a/drivers/net/wireless/b43/lo.c
+++ b/drivers/net/wireless/b43/lo.c
@@ -264,8 +264,8 @@ static u16 lo_measure_feedthrough(struct b43_wldev *dev,
264 rfover |= pga; 264 rfover |= pga;
265 rfover |= lna; 265 rfover |= lna;
266 rfover |= trsw_rx; 266 rfover |= trsw_rx;
267 if ((dev->dev->bus->sprom.r1.boardflags_lo & B43_BFL_EXTLNA) && 267 if ((dev->dev->bus->sprom.boardflags_lo & B43_BFL_EXTLNA)
268 phy->rev > 6) 268 && phy->rev > 6)
269 rfover |= B43_PHY_RFOVERVAL_EXTLNA; 269 rfover |= B43_PHY_RFOVERVAL_EXTLNA;
270 270
271 b43_phy_write(dev, B43_PHY_PGACTL, 0xE300); 271 b43_phy_write(dev, B43_PHY_PGACTL, 0xE300);
@@ -634,7 +634,7 @@ static void lo_measure_setup(struct b43_wldev *dev,
634 & 0xFFFC); 634 & 0xFFFC);
635 if (phy->type == B43_PHYTYPE_G) { 635 if (phy->type == B43_PHYTYPE_G) {
636 if ((phy->rev >= 7) && 636 if ((phy->rev >= 7) &&
637 (sprom->r1.boardflags_lo & B43_BFL_EXTLNA)) { 637 (sprom->boardflags_lo & B43_BFL_EXTLNA)) {
638 b43_phy_write(dev, B43_PHY_RFOVER, 0x933); 638 b43_phy_write(dev, B43_PHY_RFOVER, 0x933);
639 } else { 639 } else {
640 b43_phy_write(dev, B43_PHY_RFOVER, 0x133); 640 b43_phy_write(dev, B43_PHY_RFOVER, 0x133);