changelog shortlog tags branches changeset file revisions annotate raw help

Mercurial > hg > plan9front / sys/src/9/bcm/dma.c

revision 7249: 3d3af63a444a
parent 7198: bee572b18071
child 7310: 55d93e47a2de
     1.1--- a/sys/src/9/bcm/dma.c
     1.2+++ b/sys/src/9/bcm/dma.c
     1.3@@ -170,7 +170,7 @@ dmastart(int chan, int dev, int dir, voi
     1.4 	ti = 0;
     1.5 	switch(dir){
     1.6 	case DmaD2M:
     1.7-		cachedinvse(dst, len);
     1.8+		cachedwbinvse(dst, len);
     1.9 		ti = Srcdreq | Destinc;
    1.10 		cb->sourcead = dmaioaddr(src);
    1.11 		cb->destad = dmaaddr(dst);
    1.12@@ -183,7 +183,7 @@ dmastart(int chan, int dev, int dir, voi
    1.13 		break;
    1.14 	case DmaM2M:
    1.15 		cachedwbse(src, len);
    1.16-		cachedinvse(dst, len);
    1.17+		cachedwbinvse(dst, len);
    1.18 		ti = Srcinc | Destinc;
    1.19 		cb->sourcead = dmaaddr(src);
    1.20 		cb->destad = dmaaddr(dst);