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:
@@ -166,7 +166,7 @@ ath_edma_stoprecv(struct ath_softc *sc, int dodelay)
|
|||||||
ath_hal_setrxfilter(ah, 0);
|
ath_hal_setrxfilter(ah, 0);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
if (ath_hal_stopdmarecv(ah) == AH_TRUE)
|
if (ath_hal_stopdmarecv(ah) == AH_TRUE)
|
||||||
sc->sc_rx_stopped = 1;
|
sc->sc_rx_stopped = 1;
|
||||||
@@ -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,
|
||||||
@@ -925,7 +925,7 @@ ath_edma_rxfifo_free(struct ath_softc *sc, HAL_RX_QUEUE qtype)
|
|||||||
device_printf(sc->sc_dev, "%s: called; qtype=%d\n",
|
device_printf(sc->sc_dev, "%s: called; qtype=%d\n",
|
||||||
__func__,
|
__func__,
|
||||||
qtype);
|
qtype);
|
||||||
|
|
||||||
free(re->m_fifo, M_ATHDEV);
|
free(re->m_fifo, M_ATHDEV);
|
||||||
|
|
||||||
return (0);
|
return (0);
|
||||||
|
|||||||
Reference in New Issue
Block a user