diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2014-09-15 01:09:09 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-15 23:00:54 +0400 |
commit | 261b758ba6203da967f0927ec31617c9f22dbdaa (patch) | |
tree | 0ebb8cd340a5d060980918438a29258af7647512 /drivers/net/wireless/b43 | |
parent | 5eb3645e0f35e8e12a82b055ea1204ae322d2a19 (diff) | |
download | linux-261b758ba6203da967f0927ec31617c9f22dbdaa.tar.xz |
b43: tell ucode the phy type and version
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43')
-rw-r--r-- | drivers/net/wireless/b43/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/main.c b/drivers/net/wireless/b43/main.c index 85ab46c42734..00d9daf9bbd8 100644 --- a/drivers/net/wireless/b43/main.c +++ b/drivers/net/wireless/b43/main.c @@ -4889,6 +4889,10 @@ static int b43_wireless_core_init(struct b43_wldev *dev) /* Maximum Contention Window */ b43_shm_write16(dev, B43_SHM_SCRATCH, B43_SHM_SC_MAXCONT, 0x3FF); + /* write phytype and phyvers */ + b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_PHYTYPE, phy->type); + b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_PHYVER, phy->rev); + if (b43_bus_host_is_pcmcia(dev->dev) || b43_bus_host_is_sdio(dev->dev)) { dev->__using_pio_transfers = true; |