svn commit: r248455 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Mon Mar 18 02:29:57 UTC 2013


Author: adrian
Date: Mon Mar 18 02:29:57 2013
New Revision: 248455
URL: http://svnweb.freebsd.org/changeset/base/248455

Log:
  Print out the current fifo queue depth correctly - not just the max
  queue depth.
  
  Silly hat to me.

Modified:
  head/sys/dev/ath/if_ath_sysctl.c

Modified: head/sys/dev/ath/if_ath_sysctl.c
==============================================================================
--- head/sys/dev/ath/if_ath_sysctl.c	Mon Mar 18 01:30:54 2013	(r248454)
+++ head/sys/dev/ath/if_ath_sysctl.c	Mon Mar 18 02:29:57 2013	(r248455)
@@ -399,8 +399,9 @@ ath_sysctl_txagg(SYSCTL_HANDLER_ARGS)
 
 	ATH_RX_LOCK(sc);
 	for (i = 0; i < 2; i++) {
-		printf("%d: fifolen: %d; head=%d; tail=%d\n",
+		printf("%d: fifolen: %d/%d; head=%d; tail=%d\n",
 		    i,
+		    sc->sc_rxedma[i].m_fifo_depth,
 		    sc->sc_rxedma[i].m_fifolen,
 		    sc->sc_rxedma[i].m_fifo_head,
 		    sc->sc_rxedma[i].m_fifo_tail);


More information about the svn-src-all mailing list