Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 18 Mar 2013 01:11:53 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r248450 - head/sys/dev/ath
Message-ID:  <201303180111.r2I1Brkw028362@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 		}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201303180111.r2I1Brkw028362>