diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2011-08-31 17:36:20 -0400 |
---|---|---|
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) |
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[] = { | |||
295 | 0x00080000, 0x00080000, 0x00080000, 0x00080000, | 295 | 0x00080000, 0x00080000, 0x00080000, 0x00080000, |
296 | }; | 296 | }; |
297 | 297 | ||
298 | const u16 b43_lcntab_0x0f_late[] = { | 298 | const u16 b43_lcntab_sw_ctl_4313_epa_rev0[] = { |
299 | 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008, | 299 | 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008, |
300 | 0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001, | 300 | 0x0004, 0x0001, 0x0002, 0x0008, 0x0004, 0x0001, |
301 | 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008, | 301 | 0x0002, 0x0008, 0x0004, 0x0001, 0x0002, 0x0008, |
@@ -488,7 +488,8 @@ static void b43_phy_lcn_rewrite_tables(struct b43_wldev *dev) | |||
488 | } | 488 | } |
489 | } | 489 | } |
490 | 490 | ||
491 | static void b43_phy_lcn_clean_0x18_table(struct b43_wldev *dev) | 491 | /* wlc_lcnphy_clear_papd_comptable */ |
492 | static void b43_phy_lcn_clean_papd_comp_table(struct b43_wldev *dev) | ||
492 | { | 493 | { |
493 | u8 i; | 494 | u8 i; |
494 | 495 | ||
@@ -501,8 +502,9 @@ void b43_phy_lcn_tables_init(struct b43_wldev *dev) | |||
501 | b43_phy_lcn_upload_static_tables(dev); | 502 | b43_phy_lcn_upload_static_tables(dev); |
502 | /* TODO: various tables ops here */ | 503 | /* TODO: various tables ops here */ |
503 | b43_lcntab_write_bulk(dev, B43_LCNTAB16(0xf, 0), | 504 | b43_lcntab_write_bulk(dev, B43_LCNTAB16(0xf, 0), |
504 | ARRAY_SIZE(b43_lcntab_0x0f_late), b43_lcntab_0x0f_late); | 505 | ARRAY_SIZE(b43_lcntab_sw_ctl_4313_epa_rev0), |
506 | b43_lcntab_sw_ctl_4313_epa_rev0); | ||
505 | /* TODO: various tables ops here */ | 507 | /* TODO: various tables ops here */ |
506 | b43_phy_lcn_rewrite_tables(dev); | 508 | b43_phy_lcn_rewrite_tables(dev); |
507 | b43_phy_lcn_clean_0x18_table(dev); | 509 | b43_phy_lcn_clean_papd_comp_table(dev); |
508 | } | 510 | } |