提交 00fa928d 编写于 作者: G Gábor Stefanik 提交者: John W. Linville

b43: LP-PHY: Revert to the original PHY register write routine

After some discussion on IRC about the PHY register write change,
I am not sure anymore if this is the right thing to do.
Signed-off-by: NGábor Stefanik <netrolller.3d@gmail.com>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 1303dcfd
...@@ -1496,7 +1496,8 @@ static u16 b43_lpphy_op_read(struct b43_wldev *dev, u16 reg) ...@@ -1496,7 +1496,8 @@ static u16 b43_lpphy_op_read(struct b43_wldev *dev, u16 reg)
static void b43_lpphy_op_write(struct b43_wldev *dev, u16 reg, u16 value) static void b43_lpphy_op_write(struct b43_wldev *dev, u16 reg, u16 value)
{ {
b43_write32(dev, B43_MMIO_PHY_CONTROL, ((u32)value << 16) | reg); b43_write16(dev, B43_MMIO_PHY_CONTROL, reg);
b43_write16(dev, B43_MMIO_PHY_DATA, value);
} }
static void b43_lpphy_op_maskset(struct b43_wldev *dev, u16 reg, u16 mask, static void b43_lpphy_op_maskset(struct b43_wldev *dev, u16 reg, u16 mask,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册