b43: Add LP-PHY register definitions
PATCH 1/1 b43: Add LP-PHY register definitions
This adds register definitions for the LP-PHY.
This also adds a few minor empty function bodies for the LP-init.
Signed-off-by Michael Buesch <[email protected]>
---
I'll let you decide whether you queue this for the next feature release or the next -rc. I lost track of what the rules are for this kind of change. Note that all this code currently is under BROKEN dependency.
So it won't even be compiled without changing the Kconfig first.
drivers/net/wireless/b43/phy_lp.c +33 -0
@@ -57,8 +57,41 @@ static void b43_lpphy_op_free(struct b43 dev->phy.lp =NULL ; } +static void lpphy_table_init (struct b43_wldev *dev) +{ +//TODO +} + +static void lpphy_baseband_rev0_1_init (struct b43_wldev *dev) +{ +B43_WARN_ON (1 );//TODO rev < 2 not supported, yet. +} + +static void lpphy_baseband_rev2plus_init (struct b43_wldev *dev) +{ +//TODO +} + +static void lpphy_baseband_init (struct b43_wldev *dev) +{ +lpphy_table_init (dev); +if (dev->phy.rev >=2 ) +lpphy_baseband_rev2plus_init (dev); +else +lpphy_baseband_rev0_1_init (dev); +} + +static void lpphy_radio_init (struct b43_wldev *dev) +{ +//TODO +} +static int b43_lpphy_op_init (struct b43_wldev *dev) { +/* TODO: band SPROM */ +lpphy_baseband_init (dev); +lpphy_radio_init (dev); +//TODO return 0 ;
drivers/net/wireless/b43/phy_lp.h +273 -0
281 lines not on this page · raw message
Signature · 1 line
Greetings, Michael.