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

Adrian Chadd adrian at FreeBSD.org
Wed Mar 20 05:44:04 UTC 2013


Author: adrian
Date: Wed Mar 20 05:44:03 2013
New Revision: 248543
URL: http://svnweb.freebsd.org/changeset/base/248543

Log:
  Fix the EDMA CABQ handling - for now, the CABQ takes a descriptor chain
  like the legacy chips expect.

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

Modified: head/sys/dev/ath/if_ath_tx_edma.c
==============================================================================
--- head/sys/dev/ath/if_ath_tx_edma.c	Wed Mar 20 05:31:34 2013	(r248542)
+++ head/sys/dev/ath/if_ath_tx_edma.c	Wed Mar 20 05:44:03 2013	(r248543)
@@ -267,6 +267,9 @@ ath_edma_xmit_handoff_mcast(struct ath_s
 		/* sync descriptor to memory */
 		bus_dmamap_sync(sc->sc_dmat, bf_last->bf_dmamap,
 		   BUS_DMASYNC_PREWRITE);
+
+		/* link descriptor */
+		*txq->axq_link = bf->bf_daddr;
 	}
 
 #ifdef	ATH_DEBUG_ALQ


More information about the svn-src-all mailing list