diff options
author | Michael Buesch <mb@bu3sch.de> | 2009-01-31 08:20:44 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-09 15:03:46 -0500 |
commit | a387cc7d380504bf64743789f47de35605e05596 (patch) | |
tree | 36d65e175c1591fdbbd6803b7358efd9e76c2c50 /drivers/net/wireless/b43/phy_lp.c | |
parent | 964d6ad935d96a002fdbbdfcac38f02a084f75d9 (diff) |
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 <mb@bu3sch.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/phy_lp.c')
-rw-r--r-- | drivers/net/wireless/b43/phy_lp.c | 33 |
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 | ||
60 | static void lpphy_table_init(struct b43_wldev *dev) | ||
61 | { | ||
62 | //TODO | ||
63 | } | ||
64 | |||
65 | static void lpphy_baseband_rev0_1_init(struct b43_wldev *dev) | ||
66 | { | ||
67 | B43_WARN_ON(1);//TODO rev < 2 not supported, yet. | ||
68 | } | ||
69 | |||
70 | static void lpphy_baseband_rev2plus_init(struct b43_wldev *dev) | ||
71 | { | ||
72 | //TODO | ||
73 | } | ||
74 | |||
75 | static 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 | |||
84 | static void lpphy_radio_init(struct b43_wldev *dev) | ||
85 | { | ||
86 | //TODO | ||
87 | } | ||
88 | |||
60 | static int b43_lpphy_op_init(struct b43_wldev *dev) | 89 | static 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; |