svn commit: r248450 - head/sys/dev/ath

Adrian Chadd adrian at FreeBSD.org
Mon Mar 18 01:11:53 UTC 2013


Author: adrian
Date: Mon Mar 18 01:11:52 2013
New Revision: 248450
URL: http://svnweb.freebsd.org/changeset/base/248450

Log:
  Log some more information when the RX buffer allocation failed.

Modified:
  head/sys/dev/ath/if_ath_rx_edma.c

Modified: head/sys/dev/ath/if_ath_rx_edma.c
==============================================================================
--- head/sys/dev/ath/if_ath_rx_edma.c	Mon Mar 18 00:25:02 2013	(r248449)
+++ head/sys/dev/ath/if_ath_rx_edma.c	Mon Mar 18 01:11:52 2013	(r248450)
@@ -661,9 +661,12 @@ ath_edma_rxfifo_alloc(struct ath_softc *
 		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;
 		}
 


More information about the svn-src-all mailing list