svn commit: r225546 - user/adrian/if_ath_tx/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Wed Sep 14 03:25:03 UTC 2011
Author: adrian
Date: Wed Sep 14 03:25:02 2011
New Revision: 225546
URL: http://svn.freebsd.org/changeset/base/225546
Log:
Add further ath_buf debugging, relevant for TX buffers.
Modified:
user/adrian/if_ath_tx/sys/dev/ath/if_ath_debug.c
Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath_debug.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath_debug.c Wed Sep 14 03:18:00 2011 (r225545)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath_debug.c Wed Sep 14 03:25:02 2011 (r225546)
@@ -136,10 +136,16 @@ ath_printtxbuf(struct ath_softc *sc, con
while (bf != NULL) {
for (i = 0, ds = bf->bf_desc; i < bf->bf_nseg; i++, ds++) {
printf(" (DS.V:%p DS.P:%p) L:%08x D:%08x F:%04x%s\n"
+ " TXF: %04x Seq: %d swtry: %d ADDBAW?: %d DOBAW?: %d\n"
" %08x %08x %08x %08x %08x %08x\n",
ds, (const struct ath_desc *)bf->bf_daddr + i,
ds->ds_link, ds->ds_data, bf->bf_txflags,
!done ? "" : (ts->ts_status == 0) ? " *" : " !",
+ bf->bf_state.bfs_flags,
+ bf->bf_state.bfs_seqno,
+ bf->bf_state.bfs_retries,
+ bf->bf_state.bfs_addedbaw,
+ bf->bf_state.bfs_dobaw,
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) {
@@ -153,6 +159,7 @@ ath_printtxbuf(struct ath_softc *sc, con
ds->ds_hw[18], ds->ds_hw[19]);
}
}
+ printf(" [end]\n");
bf = bf->bf_next;
}
}
More information about the svn-src-user
mailing list