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

Adrian Chadd adrian at FreeBSD.org
Sun Jul 15 20:48:22 UTC 2012


Author: adrian
Date: Sun Jul 15 20:48:21 2012
New Revision: 238506
URL: http://svn.freebsd.org/changeset/base/238506

Log:
  Log the number of handled decsriptors and valid descriptors when
  hitting RXEOL.

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	Sun Jul 15 20:40:10 2012	(r238505)
+++ head/sys/dev/ath/if_ath_rx_edma.c	Sun Jul 15 20:48:21 2012	(r238506)
@@ -428,8 +428,9 @@ ath_edma_recv_proc_queue(struct ath_soft
 	ATH_PCU_LOCK(sc);
 	if (dosched && sc->sc_kickpcu) {
 		CTR0(ATH_KTR_ERR, "ath_edma_recv_proc_queue(): kickpcu");
-		device_printf(sc->sc_dev, "%s: handled %d descriptors\n",
-		    __func__, ngood);
+		device_printf(sc->sc_dev,
+		    "%s: handled npkts %d ngood %d\n",
+		    __func__, npkts, ngood);
 
 		/*
 		 * XXX TODO: what should occur here? Just re-poke and


More information about the svn-src-head mailing list