diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2007-11-09 17:57:18 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:42 -0500 |
commit | 95de2841aad971867851b59c0c5253ecc2e19832 (patch) | |
tree | df6a79322a1f7b8992d38ca7d02502e0ded31b3f /drivers/net/wireless/b43/wa.c | |
parent | 458414b2e3d9dd7ee4510d18c119a7ccd3b43ec5 (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/wa.c')
-rw-r--r-- | drivers/net/wireless/b43/wa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/b43/wa.c b/drivers/net/wireless/b43/wa.c index b70992aa66bc..b3df1ba0e544 100644 --- a/drivers/net/wireless/b43/wa.c +++ b/drivers/net/wireless/b43/wa.c | |||
@@ -527,7 +527,7 @@ static void b43_wa_boards_g(struct b43_wldev *dev) | |||
527 | } else { | 527 | } else { |
528 | b43_ofdmtab_write16(dev, B43_OFDMTAB_GAINX, 1, 0x0002); | 528 | b43_ofdmtab_write16(dev, B43_OFDMTAB_GAINX, 1, 0x0002); |
529 | b43_ofdmtab_write16(dev, B43_OFDMTAB_GAINX, 2, 0x0001); | 529 | b43_ofdmtab_write16(dev, B43_OFDMTAB_GAINX, 2, 0x0001); |
530 | if ((bus->sprom.r1.boardflags_lo & B43_BFL_EXTLNA) && | 530 | if ((bus->sprom.boardflags_lo & B43_BFL_EXTLNA) && |
531 | (phy->rev >= 7)) { | 531 | (phy->rev >= 7)) { |
532 | b43_phy_write(dev, B43_PHY_EXTG(0x11), | 532 | b43_phy_write(dev, B43_PHY_EXTG(0x11), |
533 | b43_phy_read(dev, B43_PHY_EXTG(0x11)) & 0xF7FF); | 533 | b43_phy_read(dev, B43_PHY_EXTG(0x11)) & 0xF7FF); |
@@ -540,7 +540,7 @@ static void b43_wa_boards_g(struct b43_wldev *dev) | |||
540 | } | 540 | } |
541 | } | 541 | } |
542 | } | 542 | } |
543 | if (bus->sprom.r1.boardflags_lo & B43_BFL_FEM) { | 543 | if (bus->sprom.boardflags_lo & B43_BFL_FEM) { |
544 | b43_phy_write(dev, B43_PHY_GTABCTL, 0x3120); | 544 | b43_phy_write(dev, B43_PHY_GTABCTL, 0x3120); |
545 | b43_phy_write(dev, B43_PHY_GTABDATA, 0xC480); | 545 | b43_phy_write(dev, B43_PHY_GTABDATA, 0xC480); |
546 | } | 546 | } |