summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authorjmcneill <jmcneill@FreeBSD.org>2016-04-29 21:46:43 +0000
committerjmcneill <jmcneill@FreeBSD.org>2016-04-29 21:46:43 +0000
commit6b39f1ee325dce80bbf4facdd74f9b5e25cda09e (patch)
tree2c6e0280d7ddbf68e62578f79d515b9d20098aca /sys/dev
parent8f62bb14e5495a05841e10ac9c2d83660cc04782 (diff)
downloadFreeBSD-src-6b39f1ee325dce80bbf4facdd74f9b5e25cda09e.zip
FreeBSD-src-6b39f1ee325dce80bbf4facdd74f9b5e25cda09e.tar.gz
Set txbuf_map array size to TX_DESC_COUNT instead of RX_DESC_COUNT.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/dwc/if_dwcvar.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/dwc/if_dwcvar.h b/sys/dev/dwc/if_dwcvar.h
index 3dd6a8d..d9198bd 100644
--- a/sys/dev/dwc/if_dwcvar.h
+++ b/sys/dev/dwc/if_dwcvar.h
@@ -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;
OpenPOWER on IntegriCloud