diff options
author | adrian <adrian@FreeBSD.org> | 2014-05-05 08:00:50 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2014-05-05 08:00:50 +0000 |
commit | 7568a6fe4cb15d64f21b16acd889641c76ff8268 (patch) | |
tree | cd70a75490d6657f5d19e1d4eca0dea2bb29de8a /sys/dev/ath/if_ath_tx_edma.c | |
parent | 592472ed1472c6ed7b91ebc9b5d25535448a1e93 (diff) | |
download | FreeBSD-src-7568a6fe4cb15d64f21b16acd889641c76ff8268.zip FreeBSD-src-7568a6fe4cb15d64f21b16acd889641c76ff8268.tar.gz |
Quieten the RX/TX descriptor and FIFO setup debugging.
Tested:
* AR9485, STA mode
Diffstat (limited to 'sys/dev/ath/if_ath_tx_edma.c')
-rw-r--r-- | sys/dev/ath/if_ath_tx_edma.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sys/dev/ath/if_ath_tx_edma.c b/sys/dev/ath/if_ath_tx_edma.c index 3405d4a..7d14920 100644 --- a/sys/dev/ath/if_ath_tx_edma.c +++ b/sys/dev/ath/if_ath_tx_edma.c @@ -866,12 +866,14 @@ ath_xmit_setup_edma(struct ath_softc *sc) (void) ath_hal_gettxstatuslen(sc->sc_ah, &sc->sc_tx_statuslen); (void) ath_hal_getntxmaps(sc->sc_ah, &sc->sc_tx_nmaps); - device_printf(sc->sc_dev, "TX descriptor length: %d\n", - sc->sc_tx_desclen); - device_printf(sc->sc_dev, "TX status length: %d\n", - sc->sc_tx_statuslen); - device_printf(sc->sc_dev, "TX buffers per descriptor: %d\n", - sc->sc_tx_nmaps); + if (bootverbose) { + device_printf(sc->sc_dev, "TX descriptor length: %d\n", + sc->sc_tx_desclen); + device_printf(sc->sc_dev, "TX status length: %d\n", + sc->sc_tx_statuslen); + device_printf(sc->sc_dev, "TX buffers per descriptor: %d\n", + sc->sc_tx_nmaps); + } sc->sc_tx.xmit_setup = ath_edma_dma_txsetup; sc->sc_tx.xmit_teardown = ath_edma_dma_txteardown; |