atheroswifi: Turn some apparently-harmless spam into debug-prints.

Both korli and KapiX report seeing this, but the driver works for them.

Fixes #14273.
This commit is contained in:
Augustin Cavalier
2018-07-16 20:20:00 -04:00
parent c2dbeb9d31
commit 4a88aa503a
@@ -727,7 +727,7 @@ ath_edma_rxbuf_alloc(struct ath_softc *sc)
bf = TAILQ_FIRST(&sc->sc_rxbuf); bf = TAILQ_FIRST(&sc->sc_rxbuf);
/* XXX shouldn't happen upon startup? */ /* XXX shouldn't happen upon startup? */
if (bf == NULL) { if (bf == NULL) {
device_printf(sc->sc_dev, "%s: nothing on rxbuf?!\n", DPRINTF(sc, ATH_DEBUG_EDMA_RX, "%s: nothing on rxbuf?!\n",
__func__); __func__);
return (NULL); return (NULL);
} }
@@ -808,7 +808,7 @@ ath_edma_rxfifo_alloc(struct ath_softc *sc, HAL_RX_QUEUE qtype, int nbufs)
bf = ath_edma_rxbuf_alloc(sc); bf = ath_edma_rxbuf_alloc(sc);
/* XXX should ensure the FIFO is not NULL? */ /* XXX should ensure the FIFO is not NULL? */
if (bf == NULL) { if (bf == NULL) {
device_printf(sc->sc_dev, DPRINTF(sc, ATH_DEBUG_EDMA_RX,
"%s: Q%d: alloc failed: i=%d, nbufs=%d?\n", "%s: Q%d: alloc failed: i=%d, nbufs=%d?\n",
__func__, __func__,
qtype, qtype,