]> git.baikalelectronics.ru Git - kernel.git/commit
ath5k: use rx hw descriptor pointer for self-linked check
authorBob Copeland <me@bobcopeland.com>
Wed, 15 Apr 2009 11:57:35 +0000 (07:57 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 22 Apr 2009 20:57:14 +0000 (16:57 -0400)
commitc14a3b90fadcc2851d4bfe674c50d8acbf1f7fd6
treec121d33c69a2eccf0658c7f7953d6eb9435c8d44
parent27a278c625060d195ac38a99c4f79ba40bc23f2f
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>
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/base.h
drivers/net/wireless/ath/ath5k/dma.c