aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAdrian Chadd <adrian@FreeBSD.org>2013-03-18 02:29:57 +0000
committerAdrian Chadd <adrian@FreeBSD.org>2013-03-18 02:29:57 +0000
commit1ab002f461041099615d322856c8df5d6fd5d43f (patch)
tree9275bb20180a427c04e59e7d0677e07f393f860a /sys/dev
parentda5dfd565ffbe252e68888d493f86df5bf7318f1 (diff)
downloadsrc-1ab002f461041099615d322856c8df5d6fd5d43f.tar.gz
src-1ab002f461041099615d322856c8df5d6fd5d43f.zip
Print out the current fifo queue depth correctly - not just the max
queue depth. Silly hat to me.
Notes
Notes: svn path=/head/; revision=248455
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/if_ath_sysctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath_sysctl.c b/sys/dev/ath/if_ath_sysctl.c
index 39d7ea74292b..f55cec882148 100644
--- a/sys/dev/ath/if_ath_sysctl.c
+++ b/sys/dev/ath/if_ath_sysctl.c
@@ -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);