Print out the current fifo queue depth correctly - not just the max

queue depth.

Silly hat to me.
This commit is contained in:
Adrian Chadd 2013-03-18 02:29:57 +00:00
parent da5dfd565f
commit 1ab002f461
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=248455

View File

@ -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);