summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/dwc/if_dwc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/dwc/if_dwc.c b/sys/dev/dwc/if_dwc.c
index 75ecc1989513..939ce541a5b5 100644
--- a/sys/dev/dwc/if_dwc.c
+++ b/sys/dev/dwc/if_dwc.c
@@ -898,10 +898,8 @@ setup_dma(struct dwc_softc *sc)
}
for (idx = 0; idx < TX_DESC_COUNT; idx++) {
- sc->txdesc_ring[idx].tdes0 = DDESC_TDES0_TXCHAIN;
- sc->txdesc_ring[idx].tdes1 = 0;
nidx = next_txidx(sc, idx);
- sc->txdesc_ring[idx].addr_next = sc->txdesc_ring_paddr + \
+ sc->txdesc_ring[idx].addr_next = sc->txdesc_ring_paddr +
(nidx * sizeof(struct dwc_hwdesc));
}