From owner-svn-src-head@FreeBSD.ORG Mon Nov 9 22:58:30 2009 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 628301065693; Mon, 9 Nov 2009 22:58:30 +0000 (UTC) (envelope-from yongari@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5172B8FC30; Mon, 9 Nov 2009 22:58:30 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id nA9MwU82037660; Mon, 9 Nov 2009 22:58:30 GMT (envelope-from yongari@svn.freebsd.org) Received: (from yongari@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id nA9MwUDj037658; Mon, 9 Nov 2009 22:58:30 GMT (envelope-from yongari@svn.freebsd.org) Message-Id: <200911092258.nA9MwUDj037658@svn.freebsd.org> From: Pyun YongHyeon Date: Mon, 9 Nov 2009 22:58:30 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r199115 - head/sys/dev/bge X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Nov 2009 22:58:30 -0000 Author: yongari Date: Mon Nov 9 22:58:30 2009 New Revision: 199115 URL: http://svn.freebsd.org/changeset/base/199115 Log: Add missing bus_dmamap_sync(9) before issuing kick command. Modified: head/sys/dev/bge/if_bge.c Modified: head/sys/dev/bge/if_bge.c ============================================================================== --- head/sys/dev/bge/if_bge.c Mon Nov 9 22:01:58 2009 (r199114) +++ head/sys/dev/bge/if_bge.c Mon Nov 9 22:58:30 2009 (r199115) @@ -3826,6 +3826,9 @@ bge_start_locked(struct ifnet *ifp) /* No packets were dequeued. */ return; + bus_dmamap_sync(sc->bge_cdata.bge_tx_ring_tag, + sc->bge_cdata.bge_tx_ring_map, + BUS_DMASYNC_PREREAD | BUS_DMASYNC_PREWRITE); /* Transmit. */ bge_writembx(sc, BGE_MBX_TX_HOST_PROD0_LO, prodidx); /* 5700 b2 errata */