Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2009 04:18:22 +0000 (UTC)
From:      Pyun YongHyeon <yongari@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r187086 - in stable/7/sys: . contrib/pf dev/age dev/ath/ath_hal dev/cxgb
Message-ID:  <200901120418.n0C4IMgE050478@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yongari
Date: Mon Jan 12 04:18:22 2009
New Revision: 187086
URL: http://svn.freebsd.org/changeset/base/187086

Log:
  MFC r184106:
    No need to sync descriptors twice in age_rxintr()

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/age/if_age.c
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)

Modified: stable/7/sys/dev/age/if_age.c
==============================================================================
--- stable/7/sys/dev/age/if_age.c	Mon Jan 12 04:15:05 2009	(r187085)
+++ stable/7/sys/dev/age/if_age.c	Mon Jan 12 04:18:22 2009	(r187086)
@@ -2478,9 +2478,6 @@ age_rxintr(struct age_softc *sc, int rr_
 	bus_dmamap_sync(sc->age_cdata.age_rr_ring_tag,
 	    sc->age_cdata.age_rr_ring_map,
 	    BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE);
-	bus_dmamap_sync(sc->age_cdata.age_rx_ring_tag,
-	    sc->age_cdata.age_rx_ring_map,
-	    BUS_DMASYNC_POSTREAD | BUS_DMASYNC_POSTWRITE);
 
 	for (prog = 0; rr_cons != rr_prod; prog++) {
 		if (count <= 0)
@@ -2513,9 +2510,6 @@ age_rxintr(struct age_softc *sc, int rr_
 		sc->age_cdata.age_rr_cons = rr_cons;
 
 		/* Sync descriptors. */
-		bus_dmamap_sync(sc->age_cdata.age_rx_ring_tag,
-		    sc->age_cdata.age_rx_ring_map,
-		    BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE);
 		bus_dmamap_sync(sc->age_cdata.age_rr_ring_tag,
 		    sc->age_cdata.age_rr_ring_map,
 		    BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE);



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