Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Aug 2012 22:39:27 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239199 - head/sys/dev/ath
Message-ID:  <201208112239.q7BMdRib007309@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adrian
Date: Sat Aug 11 22:39:27 2012
New Revision: 239199
URL: http://svn.freebsd.org/changeset/base/239199

Log:
  Add the AR9380 HAL to the TX descriptor debugging, in order to dump all
  of the descriptor contents.

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	Sat Aug 11 22:25:28 2012	(r239198)
+++ head/sys/dev/ath/if_ath_debug.c	Sat Aug 11 22:39:27 2012	(r239199)
@@ -158,7 +158,8 @@ ath_printtxbuf(struct ath_softc *sc, con
 			    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],



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208112239.q7BMdRib007309>