summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/ath/ath5k/dma.c
diff options
context:
space:
mode:
authorBob Copeland <me@bobcopeland.com>2009-04-15 15:57:35 +0400
committerJohn W. Linville <linville@tuxdriver.com>2009-04-23 00:57:14 +0400
commitc57ca81576e7ca0369ea52c9ac5f35d0f6ca1270 (patch)
treec121d33c69a2eccf0658c7f7953d6eb9435c8d44 /drivers/net/wireless/ath/ath5k/dma.c
parent46802a4f07cd2367d584bb1a2e6998d22d4d4f3a (diff)
downloadlinux-c57ca81576e7ca0369ea52c9ac5f35d0f6ca1270.tar.xz
ath5k: use rx hw descriptor pointer for self-linked check
This patch simplifies the code used to detect when the self-linked DMA buffer is still in use by hardware, by checking the hardware's rxdp register instead of looking at the software buffer list. Signed-off-by: Bob Copeland <me@bobcopeland.com> Acked-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/dma.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/dma.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath5k/dma.c b/drivers/net/wireless/ath/ath5k/dma.c
index b65b4feb2d28..941b51130a6f 100644
--- a/drivers/net/wireless/ath/ath5k/dma.c
+++ b/drivers/net/wireless/ath/ath5k/dma.c
@@ -80,8 +80,6 @@ int ath5k_hw_stop_rx_dma(struct ath5k_hw *ah)
* ath5k_hw_get_rxdp - Get RX Descriptor's address
*
* @ah: The &struct ath5k_hw
- *
- * XXX: Is RXDP read and clear ?
*/
u32 ath5k_hw_get_rxdp(struct ath5k_hw *ah)
{