summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-02-20 11:17:03 +0000
committeradrian <adrian@FreeBSD.org>2013-02-20 11:17:03 +0000
commitc6a80fccc410422632e103661ea7c8757de47e5f (patch)
treea54810e1ae745a872ad18eae64d12f8408e0070f /sys/dev/ath/if_ath.c
parent1030caa384a1ea893efd5506645ece24a3bc9d1f (diff)
downloadFreeBSD-src-c6a80fccc410422632e103661ea7c8757de47e5f.zip
FreeBSD-src-c6a80fccc410422632e103661ea7c8757de47e5f.tar.gz
Post interrupts in the ath alq trace.
Diffstat (limited to 'sys/dev/ath/if_ath.c')
-rw-r--r--sys/dev/ath/if_ath.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 1e796a0..23664f1 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -1588,6 +1588,10 @@ ath_intr(void *arg)
ath_hal_getisr(ah, &status); /* NB: clears ISR too */
DPRINTF(sc, ATH_DEBUG_INTR, "%s: status 0x%x\n", __func__, status);
ATH_KTR(sc, ATH_KTR_INTERRUPTS, 1, "ath_intr: mask=0x%.8x", status);
+#ifdef ATH_DEBUG_ALQ
+ if_ath_alq_post_intr(&sc->sc_alq, status, ah->ah_intrstate,
+ ah->ah_syncstate);
+#endif /* ATH_DEBUG_ALQ */
#ifdef ATH_KTR_INTR_DEBUG
ATH_KTR(sc, ATH_KTR_INTERRUPTS, 5,
"ath_intr: ISR=0x%.8x, ISR_S0=0x%.8x, ISR_S1=0x%.8x, ISR_S2=0x%.8x, ISR_S5=0x%.8x",
OpenPOWER on IntegriCloud