aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/b43/phy_lp.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/b43/phy_lp.c')
-rw-r--r--drivers/net/wireless/b43/phy_lp.c33
1 files changed, 33 insertions, 0 deletions
diff --git a/drivers/net/wireless/b43/phy_lp.c b/drivers/net/wireless/b43/phy_lp.c
index c5d9dc3667c0..ec83b8cd2f2e 100644
--- a/drivers/net/wireless/b43/phy_lp.c
+++ b/drivers/net/wireless/b43/phy_lp.c
@@ -57,8 +57,41 @@ static void b43_lpphy_op_free(struct b43_wldev *dev)
57 dev->phy.lp = NULL; 57 dev->phy.lp = NULL;
58} 58}
59 59
60static void lpphy_table_init(struct b43_wldev *dev)
61{
62 //TODO
63}
64
65static void lpphy_baseband_rev0_1_init(struct b43_wldev *dev)
66{
67 B43_WARN_ON(1);//TODO rev < 2 not supported, yet.
68}
69
70static void lpphy_baseband_rev2plus_init(struct b43_wldev *dev)
71{
72 //TODO
73}
74
75static void lpphy_baseband_init(struct b43_wldev *dev)
76{
77 lpphy_table_init(dev);
78 if (dev->phy.rev >= 2)
79 lpphy_baseband_rev2plus_init(dev);
80 else
81 lpphy_baseband_rev0_1_init(dev);
82}
83
84static void lpphy_radio_init(struct b43_wldev *dev)
85{
86 //TODO
87}
88
60static int b43_lpphy_op_init(struct b43_wldev *dev) 89static int b43_lpphy_op_init(struct b43_wldev *dev)
61{ 90{
91 /* TODO: band SPROM */
92 lpphy_baseband_init(dev);
93 lpphy_radio_init(dev);
94
62 //TODO 95 //TODO
63 96
64 return 0; 97 return 0;