diff options
author | sam <sam@FreeBSD.org> | 2006-02-15 18:17:53 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-02-15 18:17:53 +0000 |
commit | bb3f45c5b86c1f25a92ba535e1b3f8e17904b38d (patch) | |
tree | 1a5440a628786b295c6194a4b776ad4f8c903aa3 | |
parent | 45fecb1f8a12279d38265dc9f0045abc010f06ea (diff) | |
download | FreeBSD-src-bb3f45c5b86c1f25a92ba535e1b3f8e17904b38d.zip FreeBSD-src-bb3f45c5b86c1f25a92ba535e1b3f8e17904b38d.tar.gz |
use ath_hal_gettxintrtxqs so we only process h/w tx
queues that have an interrupt pending
MFC after: 2 weeks
-rw-r--r-- | sys/dev/ath/if_ath.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index a5de2d0..28308c60 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -3852,7 +3852,8 @@ ath_tx_processq(struct ath_softc *sc, struct ath_txq *txq) static __inline int txqactive(struct ath_hal *ah, int qnum) { - /* XXX not yet */ + u_int32_t txqs = 1<<qnum; + ath_hal_gettxintrtxqs(ah, &txqs); return 1; } |