summaryrefslogtreecommitdiffstats
path: root/sys/dev/ath/if_ath_debug.c
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2012-08-11 22:39:27 +0000
committeradrian <adrian@FreeBSD.org>2012-08-11 22:39:27 +0000
commitdecb55dbb51905dce41fc4ec5f400aafa247556c (patch)
treefb47d853e7132f97b8240926298f3f2987afb215 /sys/dev/ath/if_ath_debug.c
parentac90f5100df8198351fdd7a46bd165887b02e30c (diff)
downloadFreeBSD-src-decb55dbb51905dce41fc4ec5f400aafa247556c.zip
FreeBSD-src-decb55dbb51905dce41fc4ec5f400aafa247556c.tar.gz
Add the AR9380 HAL to the TX descriptor debugging, in order to dump all
of the descriptor contents.
Diffstat (limited to 'sys/dev/ath/if_ath_debug.c')
-rw-r--r--sys/dev/ath/if_ath_debug.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_debug.c b/sys/dev/ath/if_ath_debug.c
index da898be..fbdce6b 100644
--- a/sys/dev/ath/if_ath_debug.c
+++ b/sys/dev/ath/if_ath_debug.c
@@ -158,7 +158,8 @@ ath_printtxbuf(struct ath_softc *sc, const struct ath_buf *first_bf,
ds->ds_ctl0, ds->ds_ctl1,
ds->ds_hw[0], ds->ds_hw[1],
ds->ds_hw[2], ds->ds_hw[3]);
- if (ah->ah_magic == 0x20065416) {
+ if (ah->ah_magic == 0x20065416 ||
+ ah->ah_magic == 0x19741014) {
printf(" %08x %08x %08x %08x %08x %08x %08x %08x\n",
ds->ds_hw[4], ds->ds_hw[5], ds->ds_hw[6],
ds->ds_hw[7], ds->ds_hw[8], ds->ds_hw[9],
OpenPOWER on IntegriCloud