summaryrefslogtreecommitdiffstats
path: root/drivers/net/cnic_defs.h
diff options
context:
space:
mode:
authorLuis R. Rodriguez <lrodriguez@atheros.com>2010-04-15 23:38:13 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-04-16 21:32:03 +0200
commitaed1baf1ab10f4b6bd40952a9deb791dbba48f3a (patch)
tree06af74c5b0c21e5ff2e73bedc2f2313ecccccfc4 /drivers/net/cnic_defs.h
parentath9k_hw: AR9003 does not have AR_RC_AHB skip its setting (diff)
downloadlinux-aed1baf1ab10f4b6bd40952a9deb791dbba48f3a.tar.xz
linux-aed1baf1ab10f4b6bd40952a9deb791dbba48f3a.zip
ath9k_hw: remove wrapper ath9k_hw_write_regs()
This is used only once by ath9k_hw_process_ini() to write an array of phy registers through REG_WRITE_ARRAY(), but we already call REG_WRITE_ARRAY() multiple times on the same caller so just remove this pointless wrapper. We'll eventually just move the ath9k_hw_process_ini() caller as an callback to abstract away between different hardware families. Although this change is subtle I should note that this does change the delay pattern on writing the next series of registers. REG_WRITE_ARRAY() uses a counter for each register write and does a udelay(1) every 64 writes. By removing this call it means that the counter is processed for all the iniBB_RfGain registers and is incremented on ath9k_hw_process_ini(), before this the after the call ath9k_hw_write_regs() was made the register counter was kept at the same index number prior to the call. Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/cnic_defs.h')
0 files changed, 0 insertions, 0 deletions