summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/dev/dwc/if_dwc.c
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/sys/dev/dwc/if_dwc.c')
-rw-r--r--freebsd/sys/dev/dwc/if_dwc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/freebsd/sys/dev/dwc/if_dwc.c b/freebsd/sys/dev/dwc/if_dwc.c
index 27f6fcf3..3caff4ac 100644
--- a/freebsd/sys/dev/dwc/if_dwc.c
+++ b/freebsd/sys/dev/dwc/if_dwc.c
@@ -213,7 +213,7 @@ struct dwc_softc {
bus_addr_t txdesc_ring_paddr;
bus_dma_tag_t txbuf_tag;
#endif /* __rtems__ */
- 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;