From: Hauke Mehrtens Date: Sun, 14 Sep 2014 21:09:09 +0000 (+0200) Subject: b43: tell ucode the phy type and version X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=261b758ba6203da967f0927ec31617c9f22dbdaa;p=linux-beck.git b43: tell ucode the phy type and version Signed-off-by: Hauke Mehrtens Signed-off-by: John W. Linville --- 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;