summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ar9170/cmd.h
diff options
context:
space:
mode:
authorJoerg Albert <jal2@gmx.de>2009-09-15 23:27:53 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 16:39:38 -0400
commit181af387033e20065e94363d07ecbace7738278c (patch)
tree7022e3a625e89ac9f1bf55bdf75eb95b88752485 /drivers/net/wireless/ath/ar9170/cmd.h
parent7c52c07de8bd0433db6b3e0147544e5a2f01b786 (diff)
downloadblackbird-op-linux-181af387033e20065e94363d07ecbace7738278c.tar.gz
blackbird-op-linux-181af387033e20065e94363d07ecbace7738278c.zip
ar9170: handle overflow in tsf_low register during get_tsf
ar9170_op_get_tsf: handle a carry from TSF_L into TSF_H by reading TSF_H twice. Signed-off-by: Joerg Albert <jal2@gmx.de> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ar9170/cmd.h')
-rw-r--r--drivers/net/wireless/ath/ar9170/cmd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ar9170/cmd.h b/drivers/net/wireless/ath/ar9170/cmd.h
index a4f0e50e52b4..826c45e6b274 100644
--- a/drivers/net/wireless/ath/ar9170/cmd.h
+++ b/drivers/net/wireless/ath/ar9170/cmd.h
@@ -44,6 +44,7 @@
int ar9170_write_mem(struct ar9170 *ar, const __le32 *data, size_t len);
int ar9170_write_reg(struct ar9170 *ar, const u32 reg, const u32 val);
int ar9170_read_reg(struct ar9170 *ar, u32 reg, u32 *val);
+int ar9170_read_mreg(struct ar9170 *ar, int nregs, const u32 *regs, u32 *out);
int ar9170_echo_test(struct ar9170 *ar, u32 v);
/*
OpenPOWER on IntegriCloud