svn commit: r238275 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Mon Jul 9 06:39:47 UTC 2012
Author: adrian
Date: Mon Jul 9 06:39:46 2012
New Revision: 238275
URL: http://svn.freebsd.org/changeset/base/238275
Log:
Extend the RX descriptor completion debugging to log the larger
AR93xx receive descriptors.
This isn't entirely complete - the AR93xx and later descriptors
don't have a link/buffer pointer; the descriptor contents just
start.
Modified:
head/sys/dev/ath/if_ath_debug.c
Modified: head/sys/dev/ath/if_ath_debug.c
==============================================================================
--- head/sys/dev/ath/if_ath_debug.c Mon Jul 9 06:34:15 2012 (r238274)
+++ head/sys/dev/ath/if_ath_debug.c Mon Jul 9 06:39:46 2012 (r238275)
@@ -118,6 +118,16 @@ ath_printrxbuf(struct ath_softc *sc, con
ds->ds_hw[2], ds->ds_hw[3], ds->ds_hw[4],
ds->ds_hw[5], ds->ds_hw[6], ds->ds_hw[7],
ds->ds_hw[8]);
+ } else if (ah->ah_magic == 0x19741014) {
+ printf(" %08x %08x %08x %08x %08x %08x %08x\n",
+ ds->ds_hw[2], ds->ds_hw[3], ds->ds_hw[4],
+ ds->ds_hw[5], ds->ds_hw[6], ds->ds_hw[7],
+ ds->ds_hw[8]);
+
+ printf(" %08x %08x %08x %08x %08x %08x %08x\n",
+ ds->ds_hw[9], ds->ds_hw[10], ds->ds_hw[11],
+ ds->ds_hw[12], ds->ds_hw[13], ds->ds_hw[14],
+ ds->ds_hw[15]);
}
}
}
More information about the svn-src-head
mailing list