diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-08-31 23:36:20 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-13 15:53:46 -0400 |
commit | bce4dc4a5d6c0ec9b40e353023a4bb30f791dfd2 (patch) | |
tree | 24d4fae4ca358159818c8e00196fb80c04f4a20a /drivers/net/wireless/b43/tables_phy_lcn.c | |
parent | 71c1d1e97f5849078a68992aee97d0bbe128ac63 (diff) | |
download | talos-obmc-linux-bce4dc4a5d6c0ec9b40e353023a4bb30f791dfd2.tar.gz talos-obmc-linux-bce4dc4a5d6c0ec9b40e353023a4bb30f791dfd2.zip |
b43: LCN-PHY: rename functions, get rid of magic names
We've compared b43 with brcmsmac and took functions names from the
later.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/b43/tables_phy_lcn.c')
-rw-r--r-- | drivers/net/wireless/b43/tables_phy_lcn.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/drivers/net/wireless/b43/tables_phy_lcn.c b/drivers/net/wireless/b43/tables_phy_lcn.c index fd2b16d9d661..c62a94082bca 100644 --- a/drivers/net/wireless/b43/tables_phy_lcn.c +++ b/drivers/net/wireless/b43/tables_phy_lcn.c @@ -295,7 +295,7 @@ static const u32 b43_lcntab_0x18[] = { 0x00080000, 0x00080000, 0x00080000, 0x00080000, }; -const u16 b43_lcntab_0x0f_late[] = { +const u16 b43_lcntab_sw_ctl_4313_epa_rev0[] = { 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008, @@ -488,7 +488,8 @@ static void b43_phy_lcn_rewrite_tables(struct b43_wldev *dev) } } -static void b43_phy_lcn_clean_0x18_table(struct b43_wldev *dev) +/* wlc_lcnphy_clear_papd_comptable */ +static void b43_phy_lcn_clean_papd_comp_table(struct b43_wldev *dev) { u8 i; @@ -501,8 +502,9 @@ void b43_phy_lcn_tables_init(struct b43_wldev *dev) b43_phy_lcn_upload_static_tables(dev); /* TODO: various tables ops here */ b43_lcntab_write_bulk(dev, B43_LCNTAB16(0xf, 0), - ARRAY_SIZE(b43_lcntab_0x0f_late), b43_lcntab_0x0f_late); + ARRAY_SIZE(b43_lcntab_sw_ctl_4313_epa_rev0), + b43_lcntab_sw_ctl_4313_epa_rev0); /* TODO: various tables ops here */ b43_phy_lcn_rewrite_tables(dev); - b43_phy_lcn_clean_0x18_table(dev); + b43_phy_lcn_clean_papd_comp_table(dev); } |