svn commit: r258827 - head/sys/dev/iwn

Adrian Chadd adrian at FreeBSD.org
Mon Dec 2 03:49:34 UTC 2013


Author: adrian
Date: Mon Dec  2 03:49:33 2013
New Revision: 258827
URL: http://svnweb.freebsd.org/changeset/base/258827

Log:
  Log the rx ring offset as part of the debug message.

Modified:
  head/sys/dev/iwn/if_iwn.c

Modified: head/sys/dev/iwn/if_iwn.c
==============================================================================
--- head/sys/dev/iwn/if_iwn.c	Mon Dec  2 03:47:08 2013	(r258826)
+++ head/sys/dev/iwn/if_iwn.c	Mon Dec  2 03:49:33 2013	(r258827)
@@ -3508,8 +3508,8 @@ iwn_notif_intr(struct iwn_softc *sc)
 		desc = mtod(data->m, struct iwn_rx_desc *);
 
 		DPRINTF(sc, IWN_DEBUG_RECV,
-		    "%s: qid %x idx %d flags %x type %d(%s) len %d\n",
-		    __func__, desc->qid & 0xf, desc->idx, desc->flags,
+		    "%s: cur=%d; qid %x idx %d flags %x type %d(%s) len %d\n",
+		    __func__, sc->rxq.cur, desc->qid & 0xf, desc->idx, desc->flags,
 		    desc->type, iwn_intr_str(desc->type),
 		    le16toh(desc->len));
 


More information about the svn-src-head mailing list