Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2006 21:33:10 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 108444 for review
Message-ID:  <200610252133.k9PLXAAT089483@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=108444

Change 108444 by imp@imp_lighthouse on 2006/10/25 21:32:12

	Number of words, not number of bytes, to DMA.

Affected files ...

.. //depot/projects/arm/src/sys/arm/at91/at91_ssc.c#15 edit

Differences ...

==== //depot/projects/arm/src/sys/arm/at91/at91_ssc.c#15 (text+ko) ====

@@ -294,7 +294,7 @@
 		return;
 	bus_dmamap_sync(sc->tag, sc->tx_map, BUS_DMASYNC_PREWRITE);
 	WR4(sc, PDC_TPR, segs[0].ds_addr);
-	WR4(sc, PDC_TCR, size);
+	WR4(sc, PDC_TCR, size / 4);
 	WR4(sc, SSC_IER, SSC_SR_ENDTX);
 	WR4(sc, SSC_CR, SSC_CR_TXEN);
 	WR4(sc, PDC_PTCR, PDC_PTCR_TXTEN);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610252133.k9PLXAAT089483>