summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuiz Otavio O Souza <loos@FreeBSD.org>2015-07-06 17:13:17 +0000
committerLuiz Otavio O Souza <loos@FreeBSD.org>2015-07-06 17:13:17 +0000
commit1d7a730974d557f39d730c9cae143a54ec4b31ca (patch)
treef9b4552486a47ef40f4b307926d2e165b7ad7444
parentff0752c8700335b3b11f726bca99fd68cd5c7350 (diff)
Notes
-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));
}