ath5k: Use QUIET mechanism on tx dma stop
authorNick Kossifidis <mick@madwifi.org>
Sun, 28 Sep 2008 22:23:07 +0000 (01:23 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 30 Sep 2008 18:07:26 +0000 (14:07 -0400)
commit509a106e68aa42acc1a0c44ab365d0de6869bd9e
tree2477b692d65bec9489f4db281b8ddcb7d0018a71
parentee81c5544bbf49ea5b301784a605d865947ac1b0
ath5k: Use QUIET mechanism on tx dma stop

 * Use QUIET mechanism to drain tx buffer on PCU for newer chips
 * Make sure that INTPEND is really 1 and not 0xffffffff while checking for pending interrupts

Changes-Licensed-under: ISC
Signed-Off-by: Nick Kossifidis <mickflemm@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath5k/dma.c
drivers/net/wireless/ath5k/reg.h