Skip to content

Commit

Permalink
ath9k: fix column header comments for some initval arrays
Browse files Browse the repository at this point in the history
Some 3-column initval arrays have wrong comments. The
column of these arrays is indexed by the 'freqIndex'
variable in 'ar5008_hw_process_ini' which only depends
on the actual band.

The 'initvals' tool from 'qca-swiss-army-knife' prints
the correct comment lines for these arrays, since commit
'atheros-initvals: fix comments for non-fastclock 3-column tables'
however the comments were not refreshed in ath9k.

The patch contains no functional changes.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Gabor Juhos authored and John W. Linville committed Jan 7, 2013
1 parent 1f1d965 commit 93476b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions drivers/net/wireless/ath/ath9k/ar5008_initvals.h
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ static const u32 ar5416Bank0[][2] = {
};

static const u32 ar5416BB_RfGain[][3] = {
/* Addr 5G_HT20 5G_HT40 */
/* Addr 5G 2G */
{0x00009a00, 0x00000000, 0x00000000},
{0x00009a04, 0x00000040, 0x00000040},
{0x00009a08, 0x00000080, 0x00000080},
Expand Down Expand Up @@ -546,12 +546,12 @@ static const u32 ar5416Bank2[][2] = {
};

static const u32 ar5416Bank3[][3] = {
/* Addr 5G_HT20 5G_HT40 */
/* Addr 5G 2G */
{0x000098f0, 0x01400018, 0x01c00018},
};

static const u32 ar5416Bank6[][3] = {
/* Addr 5G_HT20 5G_HT40 */
/* Addr 5G 2G */
{0x0000989c, 0x00000000, 0x00000000},
{0x0000989c, 0x00000000, 0x00000000},
{0x0000989c, 0x00000000, 0x00000000},
Expand Down Expand Up @@ -588,7 +588,7 @@ static const u32 ar5416Bank6[][3] = {
};

static const u32 ar5416Bank6TPC[][3] = {
/* Addr 5G_HT20 5G_HT40 */
/* Addr 5G 2G */
{0x0000989c, 0x00000000, 0x00000000},
{0x0000989c, 0x00000000, 0x00000000},
{0x0000989c, 0x00000000, 0x00000000},
Expand Down
4 changes: 2 additions & 2 deletions drivers/net/wireless/ath/ath9k/ar9001_initvals.h
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ static const u32 ar5416Common_9100[][2] = {
};

static const u32 ar5416Bank6_9100[][3] = {
/* Addr 5G_HT20 5G_HT40 */
/* Addr 5G 2G */
{0x0000989c, 0x00000000, 0x00000000},
{0x0000989c, 0x00000000, 0x00000000},
{0x0000989c, 0x00000000, 0x00000000},
Expand Down Expand Up @@ -497,7 +497,7 @@ static const u32 ar5416Bank6_9100[][3] = {
};

static const u32 ar5416Bank6TPC_9100[][3] = {
/* Addr 5G_HT20 5G_HT40 */
/* Addr 5G 2G */
{0x0000989c, 0x00000000, 0x00000000},
{0x0000989c, 0x00000000, 0x00000000},
{0x0000989c, 0x00000000, 0x00000000},
Expand Down

0 comments on commit 93476b1

Please sign in to comment.