Skip to content

Commit 261b758

Browse files
haukelinvjw
authored andcommitted
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>
1 parent 5eb3645 commit 261b758

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • drivers/net/wireless/b43

‎drivers/net/wireless/b43/main.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4889,6 +4889,10 @@ static int b43_wireless_core_init(struct b43_wldev *dev)
48894889
/* Maximum Contention Window */
48904890
b43_shm_write16(dev, B43_SHM_SCRATCH, B43_SHM_SC_MAXCONT, 0x3FF);
48914891

4892+
/* write phytype and phyvers */
4893+
b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_PHYTYPE, phy->type);
4894+
b43_shm_write16(dev, B43_SHM_SHARED, B43_SHM_SH_PHYVER, phy->rev);
4895+
48924896
if (b43_bus_host_is_pcmcia(dev->dev) ||
48934897
b43_bus_host_is_sdio(dev->dev)) {
48944898
dev->__using_pio_transfers = true;

0 commit comments

Comments
 (0)