diff options
author | Michael Buesch <mbuesch@freenet.de> | 2006-03-25 14:36:57 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2006-03-27 11:19:47 -0500 |
commit | adc40e9796d03d56e99bdac62492492a1098124b (patch) | |
tree | 47d257ea6817e74ea274cb480af424ccc4f4661a /drivers/net/wireless/bcm43xx/bcm43xx_main.c | |
parent | 8afceb1e6a3b6361c7c2456ef488ee9c6db7b370 (diff) |
[PATCH] bcm43xx: sync GPHY init with the specs.
Signed-off-by: Michael Buesch <mbuesch@freenet.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/bcm43xx/bcm43xx_main.c')
-rw-r--r-- | drivers/net/wireless/bcm43xx/bcm43xx_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/wireless/bcm43xx/bcm43xx_main.c b/drivers/net/wireless/bcm43xx/bcm43xx_main.c index 7c1d72fc6289..2b7ef9b46ccd 100644 --- a/drivers/net/wireless/bcm43xx/bcm43xx_main.c +++ b/drivers/net/wireless/bcm43xx/bcm43xx_main.c | |||
@@ -570,6 +570,7 @@ static int bcm43xx_read_radioinfo(struct bcm43xx_private *bcm) | |||
570 | radio->baseband_atten = bcm43xx_default_baseband_attenuation(bcm); | 570 | radio->baseband_atten = bcm43xx_default_baseband_attenuation(bcm); |
571 | radio->radio_atten = bcm43xx_default_radio_attenuation(bcm); | 571 | radio->radio_atten = bcm43xx_default_radio_attenuation(bcm); |
572 | radio->txctl1 = bcm43xx_default_txctl1(bcm); | 572 | radio->txctl1 = bcm43xx_default_txctl1(bcm); |
573 | radio->txctl2 = 0xFFFF; | ||
573 | if (phy->type == BCM43xx_PHYTYPE_A) | 574 | if (phy->type == BCM43xx_PHYTYPE_A) |
574 | radio->txpower_desired = bcm->sprom.maxpower_aphy; | 575 | radio->txpower_desired = bcm->sprom.maxpower_aphy; |
575 | else | 576 | else |
@@ -2635,7 +2636,8 @@ static int bcm43xx_probe_cores(struct bcm43xx_private *bcm) | |||
2635 | } | 2636 | } |
2636 | 2637 | ||
2637 | bcm->chip_id = chip_id_16; | 2638 | bcm->chip_id = chip_id_16; |
2638 | bcm->chip_rev = (chip_id_32 & 0x000f0000) >> 16; | 2639 | bcm->chip_rev = (chip_id_32 & 0x000F0000) >> 16; |
2640 | bcm->chip_package = (chip_id_32 & 0x00F00000) >> 20; | ||
2639 | 2641 | ||
2640 | dprintk(KERN_INFO PFX "Chip ID 0x%x, rev 0x%x\n", | 2642 | dprintk(KERN_INFO PFX "Chip ID 0x%x, rev 0x%x\n", |
2641 | bcm->chip_id, bcm->chip_rev); | 2643 | bcm->chip_id, bcm->chip_rev); |