From owner-svn-src-head@freebsd.org Fri Apr 29 21:46:44 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D4154B21CBA; Fri, 29 Apr 2016 21:46:44 +0000 (UTC) (envelope-from jmcneill@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id A5B441432; Fri, 29 Apr 2016 21:46:44 +0000 (UTC) (envelope-from jmcneill@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u3TLkh84034971; Fri, 29 Apr 2016 21:46:43 GMT (envelope-from jmcneill@FreeBSD.org) Received: (from jmcneill@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u3TLkhjL034970; Fri, 29 Apr 2016 21:46:43 GMT (envelope-from jmcneill@FreeBSD.org) Message-Id: <201604292146.u3TLkhjL034970@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jmcneill set sender to jmcneill@FreeBSD.org using -f From: Jared McNeill Date: Fri, 29 Apr 2016 21:46:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298816 - head/sys/dev/dwc X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.21 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: Fri, 29 Apr 2016 21:46:44 -0000 Author: jmcneill Date: Fri Apr 29 21:46:43 2016 New Revision: 298816 URL: https://svnweb.freebsd.org/changeset/base/298816 Log: Set txbuf_map array size to TX_DESC_COUNT instead of RX_DESC_COUNT. Modified: head/sys/dev/dwc/if_dwcvar.h Modified: head/sys/dev/dwc/if_dwcvar.h ============================================================================== --- head/sys/dev/dwc/if_dwcvar.h Fri Apr 29 21:38:36 2016 (r298815) +++ head/sys/dev/dwc/if_dwcvar.h Fri Apr 29 21:46:43 2016 (r298816) @@ -90,7 +90,7 @@ struct dwc_softc { struct dwc_hwdesc *txdesc_ring; bus_addr_t txdesc_ring_paddr; bus_dma_tag_t txbuf_tag; - struct dwc_bufmap txbuf_map[RX_DESC_COUNT]; + struct dwc_bufmap txbuf_map[TX_DESC_COUNT]; uint32_t tx_idx_head; uint32_t tx_idx_tail; int txcount;