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],
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to