View | Details | Raw Unified | Return to bug 238636
Collapse All | Expand All

(-)b/sys/dev/ath/if_ath_sysctl.c (-1 / +18 lines)
Lines 494-499 ath_sysctl_txagg(SYSCTL_HANDLER_ARGS) Link Here
494
494
495
	for (i = 0; i < HAL_NUM_TX_QUEUES; i++) {
495
	for (i = 0; i < HAL_NUM_TX_QUEUES; i++) {
496
		if (ATH_TXQ_SETUP(sc, i)) {
496
		if (ATH_TXQ_SETUP(sc, i)) {
497
#ifdef ATH_DEBUG
497
			printf("HW TXQ %d: axq_depth=%d, axq_aggr_depth=%d, "
498
			printf("HW TXQ %d: axq_depth=%d, axq_aggr_depth=%d, "
498
			    "axq_fifo_depth=%d, holdingbf=%p\n",
499
			    "axq_fifo_depth=%d, holdingbf=%p\n",
499
			    i,
500
			    i,
Lines 501-506 ath_sysctl_txagg(SYSCTL_HANDLER_ARGS) Link Here
501
			    sc->sc_txq[i].axq_aggr_depth,
502
			    sc->sc_txq[i].axq_aggr_depth,
502
			    sc->sc_txq[i].axq_fifo_depth,
503
			    sc->sc_txq[i].axq_fifo_depth,
503
			    sc->sc_txq[i].axq_holdingbf);
504
			    sc->sc_txq[i].axq_holdingbf);
505
#else
506
			printf("HW TXQ %d: axq_depth=%d, axq_aggr_depth=%d, "
507
			    "axq_fifo_depth=%d\n",
508
			    i,
509
			    sc->sc_txq[i].axq_depth,
510
			    sc->sc_txq[i].axq_aggr_depth,
511
			    sc->sc_txq[i].axq_fifo_depth);
512
#endif
504
		}
513
		}
505
	}
514
	}
506
515
Lines 532-537 ath_sysctl_txagg(SYSCTL_HANDLER_ARGS) Link Here
532
541
533
	ATH_RX_LOCK(sc);
542
	ATH_RX_LOCK(sc);
534
	for (i = 0; i < 2; i++) {
543
	for (i = 0; i < 2; i++) {
544
#ifdef ATH_DEBUG
535
		printf("%d: fifolen: %d/%d; head=%d; tail=%d; m_pending=%p, m_holdbf=%p\n",
545
		printf("%d: fifolen: %d/%d; head=%d; tail=%d; m_pending=%p, m_holdbf=%p\n",
536
		    i,
546
		    i,
537
		    sc->sc_rxedma[i].m_fifo_depth,
547
		    sc->sc_rxedma[i].m_fifo_depth,
Lines 540-545 ath_sysctl_txagg(SYSCTL_HANDLER_ARGS) Link Here
540
		    sc->sc_rxedma[i].m_fifo_tail,
550
		    sc->sc_rxedma[i].m_fifo_tail,
541
		    sc->sc_rxedma[i].m_rxpending,
551
		    sc->sc_rxedma[i].m_rxpending,
542
		    sc->sc_rxedma[i].m_holdbf);
552
		    sc->sc_rxedma[i].m_holdbf);
553
#else
554
		printf("%d: fifolen: %d/%d; head=%d; tail=%d;\n",
555
		    i,
556
		    sc->sc_rxedma[i].m_fifo_depth,
557
		    sc->sc_rxedma[i].m_fifolen,
558
		    sc->sc_rxedma[i].m_fifo_head,
559
		    sc->sc_rxedma[i].m_fifo_tail);
560
#endif
543
	}
561
	}
544
	i = 0;
562
	i = 0;
545
	TAILQ_FOREACH(bf, &sc->sc_rxbuf, bf_list) {
563
	TAILQ_FOREACH(bf, &sc->sc_rxbuf, bf_list) {
546
- 

Return to bug 238636