Set txbuf_map array size to TX_DESC_COUNT instead of RX_DESC_COUNT.
This commit is contained in:
parent
bc502553a6
commit
e7502187c2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=298816
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user