On Tuesday 09 February 2010 21:04:41 Rafał Miłecki wrote: > Signed-off-by: Rafał Miłecki <zajec5@xxxxxxxxx> > --- > drivers/net/wireless/b43/phy_n.c | 24 ++++++++++++++++++------ > 1 files changed, 18 insertions(+), 6 deletions(-) > > diff --git a/drivers/net/wireless/b43/phy_n.c b/drivers/net/wireless/b43/phy_n.c > index 835d0da..631e01f 100644 > --- a/drivers/net/wireless/b43/phy_n.c > +++ b/drivers/net/wireless/b43/phy_n.c > @@ -155,6 +155,23 @@ static void b43_nphy_tx_power_fix(struct b43_wldev *dev) > //TODO > } > > + > +/* http://bcm-v4.sipsolutions.net/802.11/PHY/Radio/2055Setup */ > +static void b43_radio_2055_setup(struct b43_wldev *dev, > + const struct b43_nphy_channeltab_entry *e) > +{ > + B43_WARN_ON(dev->phy.rev >= 3); > + > + b43_chantab_radio_upload(dev, e); > + udelay(50); > + b43_radio_write(dev, B2055_VCO_CAL10, 5); > + b43_radio_write(dev, B2055_VCO_CAL10, 45); > + if (dev->dev->bus->bustype == SSB_BUSTYPE_PCI) > + b43_read32(dev, B43_MMIO_MACCTL); Just read MACCTL unconditionally. It obviously is just used for bus posting. We usually also add a comment. b43_read32(dev, B43_MMIO_MACCTL); /* flush writes */ -- Greetings, Michael. -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html