Date: Mon, 2 Mar 2009 18:46:17 GMT From: Ulf Lilleengen <lulf@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 158592 for review Message-ID: <200903021846.n22IkHtB026335@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=158592 Change 158592 by lulf@lulf_carrot on 2009/03/02 18:46:02 - Make a comment about how it works, now that I think I understand it. Affected files ... .. //depot/projects/avr32/src/sys/avr32/avr32/busdma_machdep.c#4 edit Differences ... ==== //depot/projects/avr32/src/sys/avr32/avr32/busdma_machdep.c#4 (text+ko) ==== @@ -460,7 +460,10 @@ void *tmpaddr = (void *)*vaddr; if (tmpaddr) { - /* XXX: */ + /* + * Put it in the uncached area to make the sync + * operations as cheap as possible for DMA. + */ tmpaddr = (void *)AVR32_PHYS_TO_P2(vtophys(tmpaddr)); newmap->origbuffer = *vaddr; newmap->allocbuffer = tmpaddr;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903021846.n22IkHtB026335>
