From owner-svn-src-user@FreeBSD.ORG Wed Sep 14 03:25:03 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09EF21065670; Wed, 14 Sep 2011 03:25:03 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id E64628FC14; Wed, 14 Sep 2011 03:25:02 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p8E3P2pl008711; Wed, 14 Sep 2011 03:25:02 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p8E3P2NU008710; Wed, 14 Sep 2011 03:25:02 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201109140325.p8E3P2NU008710@svn.freebsd.org> From: Adrian Chadd Date: Wed, 14 Sep 2011 03:25:02 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r225546 - user/adrian/if_ath_tx/sys/dev/ath X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Sep 2011 03:25:03 -0000 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; } }