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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to