Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Apr 2016 21:46:43 +0000 (UTC)
From:      Jared McNeill <jmcneill@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r298816 - head/sys/dev/dwc
Message-ID:  <201604292146.u3TLkhjL034970@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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