[PATCH 2/2] b43: N-PHY: add sub calls of band width setting

Larry Finger Larry.Finger at lwfinger.net
Sun Aug 22 16:29:55 EDT 2010


On 08/22/2010 03:04 PM, Gábor Stefanik wrote:
> 
> Sorry, I'm on a Windows-only machine right now.
> However, the general rule of translation is:
> mhf(a, b, c, d) -> b43_hf_write(dev, (b43_hf_read(dev) & (~b <<
> (a*16))) | (c << (a*16)))
> (Yes, the last parameter is ignored; it seems to be just Broadcrap -
> crap written by Broadcom.)
> 

IIRC, the d part is a flag used to save the state and avoid writes if the code
is setting a state already available. As these writes are not very expensive,
this part can indeed be called Broadcrap.

Larry



More information about the b43-dev mailing list