diff options
author | adrian <adrian@FreeBSD.org> | 2013-03-18 01:11:52 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2013-03-18 01:11:52 +0000 |
commit | c17bed3d1c34da99cb47901cd90d8c49d3e6877d (patch) | |
tree | d6a161f224a55212dcad8bf58738b5544452c88f | |
parent | 6288f2f6de59eb5026a6db66d89550a2c4bc3bf7 (diff) | |
download | FreeBSD-src-c17bed3d1c34da99cb47901cd90d8c49d3e6877d.zip FreeBSD-src-c17bed3d1c34da99cb47901cd90d8c49d3e6877d.tar.gz |
Log some more information when the RX buffer allocation failed.
-rw-r--r-- | sys/dev/ath/if_ath_rx_edma.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ath/if_ath_rx_edma.c b/sys/dev/ath/if_ath_rx_edma.c index 301a22c..3df2341 100644 --- a/sys/dev/ath/if_ath_rx_edma.c +++ b/sys/dev/ath/if_ath_rx_edma.c @@ -661,9 +661,12 @@ ath_edma_rxfifo_alloc(struct ath_softc *sc, HAL_RX_QUEUE qtype, int nbufs) bf = ath_edma_rxbuf_alloc(sc); /* XXX should ensure the FIFO is not NULL? */ if (bf == NULL) { - device_printf(sc->sc_dev, "%s: Q%d: alloc failed?\n", + device_printf(sc->sc_dev, + "%s: Q%d: alloc failed: i=%d, nbufs=%d?\n", __func__, - qtype); + qtype, + i, + nbufs); break; } |