Set txbuf_map array size to TX_DESC_COUNT instead of RX_DESC_COUNT.

This commit is contained in:
Jared McNeill 2016-04-29 21:46:43 +00:00
parent bc502553a6
commit e7502187c2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298816

View File

@ -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;