b43: HT-PHY: init: add missing PHY mask/set ops
authorRafał Miłecki <zajec5@gmail.com>
Fri, 12 Aug 2011 23:41:11 +0000 (01:41 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Aug 2011 18:46:01 +0000 (14:46 -0400)
commit357e24d2d07a2bb5bf706026d1ccf508c56b9b3e
tree261b59c6704472ceaf8807fdd6f0b91b21548977
parentb50583484ab60ba5c3af9eff476a2cc712cf7f49
b43: HT-PHY: init: add missing PHY mask/set ops

MMIO hacks were used to trick ndis&wl. For example following:
 phy_read(0x0280) -> 0xffff
phy_write(0x0280) <- 0xff3e
***
 phy_read(0x0280) -> 0x0000
phy_write(0x0280) <- 0x003e
was translated to mask 0xff00 and set 0x3e.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/b43/phy_ht.c