summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-03-09 06:11:58 +0000
committeradrian <adrian@FreeBSD.org>2013-03-09 06:11:58 +0000
commit54af10af6b71d746db7304c28a5a8d4176b46acc (patch)
treef36fb692e8e449fbbd8f3dcf2034ff92cc1324f1
parent11f27b0f39118fe7177aebcac2df4be9f9f50b32 (diff)
downloadFreeBSD-src-54af10af6b71d746db7304c28a5a8d4176b46acc.zip
FreeBSD-src-54af10af6b71d746db7304c28a5a8d4176b46acc.tar.gz
Print out the queue flags during a TX DMA shutdown.
-rw-r--r--sys/dev/ath/if_ath.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index fd1a7c3..11ecd1a 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -4342,9 +4342,12 @@ ath_tx_stopdma(struct ath_softc *sc, struct ath_txq *txq)
{
struct ath_hal *ah = sc->sc_ah;
- DPRINTF(sc, ATH_DEBUG_RESET, "%s: tx queue [%u] %p, link %p\n",
- __func__, txq->axq_qnum,
+ DPRINTF(sc, ATH_DEBUG_RESET,
+ "%s: tx queue [%u] %p, flags 0x%08x, link %p\n",
+ __func__,
+ txq->axq_qnum,
(caddr_t)(uintptr_t) ath_hal_gettxbuf(ah, txq->axq_qnum),
+ txq->axq_flags,
txq->axq_link);
(void) ath_hal_stoptxdma(ah, txq->axq_qnum);
}
OpenPOWER on IntegriCloud