diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2010-08-30 23:13:08 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-08-31 22:22:23 +0400 |
commit | 5ffddc498c700bb45ea55efc37746cb28d601766 (patch) | |
tree | d3e49481b043ac1822142509147245bac45eb244 /drivers/net/wireless/rt2x00/rt2800lib.h | |
parent | 2035c0cf8f637e88cdd338c15570a7ad42afc552 (diff) | |
download | linux-5ffddc498c700bb45ea55efc37746cb28d601766.tar.xz |
rt2x00: Add rt2800_wait_csr_ready
Similar to rt2800_wait_wpdma_ready() we can add a
function to waiting until the CSR is ready. This
centralizes some additional code into rt2800lib.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800lib.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800lib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800lib.h b/drivers/net/wireless/rt2x00/rt2800lib.h index deb10b14157b..986229c06c19 100644 --- a/drivers/net/wireless/rt2x00/rt2800lib.h +++ b/drivers/net/wireless/rt2x00/rt2800lib.h @@ -140,6 +140,7 @@ void rt2800_mcu_request(struct rt2x00_dev *rt2x00dev, const u8 command, const u8 token, const u8 arg0, const u8 arg1); +int rt2800_wait_csr_ready(struct rt2x00_dev *rt2x00dev); int rt2800_wait_wpdma_ready(struct rt2x00_dev *rt2x00dev); int rt2800_check_firmware(struct rt2x00_dev *rt2x00dev, |