Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Sep 2010 18:00:17 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r212185 - head/sys/dev/sis
Message-ID:  <201009031800.o83I0Hh2057685@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Fri Sep  3 18:00:17 2010
New Revision: 212185
URL: http://svn.freebsd.org/changeset/base/212185

Log:
  Fix another bug introduced in r212109. We should unload DMA maps
  only after sending the last fragment of a frame so the mbuf pointer
  also should be stored in the last descriptor index.

Modified:
  head/sys/dev/sis/if_sis.c

Modified: head/sys/dev/sis/if_sis.c
==============================================================================
--- head/sys/dev/sis/if_sis.c	Fri Sep  3 17:42:17 2010	(r212184)
+++ head/sys/dev/sis/if_sis.c	Fri Sep  3 18:00:17 2010	(r212185)
@@ -1940,7 +1940,7 @@ sis_encap(struct sis_softc *sc, struct m
 	map = txd->tx_dmamap;
 	txd->tx_dmamap = sc->sis_txdesc[prod].tx_dmamap;
 	sc->sis_txdesc[prod].tx_dmamap = map;
-	txd->tx_m = *m_head;
+	sc->sis_txdesc[prod].tx_m = *m_head;
 
 	return (0);
 }



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