Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/powerpc/powerpc Fix missed change of BUS_DMA_NOCACH...



details:   https://anonhg.NetBSD.org/src/rev/2a5808d65715
branches:  trunk
changeset: 767488:2a5808d65715
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jul 19 19:55:23 2011 +0000

description:
Fix missed change of BUS_DMA_NOCACHE to BUS_DMA_DONTCACHE.

diffstat:

 sys/arch/powerpc/powerpc/bus_dma.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r bb366653a7d3 -r 2a5808d65715 sys/arch/powerpc/powerpc/bus_dma.c
--- a/sys/arch/powerpc/powerpc/bus_dma.c        Tue Jul 19 19:46:42 2011 +0000
+++ b/sys/arch/powerpc/powerpc/bus_dma.c        Tue Jul 19 19:55:23 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bus_dma.c,v 1.43 2011/07/17 23:23:54 dyoung Exp $      */
+/*     $NetBSD: bus_dma.c,v 1.44 2011/07/19 19:55:23 matt Exp $        */
 
 /*-
  * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 
 #define _POWERPC_BUS_DMA_PRIVATE
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.43 2011/07/17 23:23:54 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bus_dma.c,v 1.44 2011/07/19 19:55:23 matt Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -605,7 +605,7 @@
         * If we are mapping a cacheable physically contiguous segment, treat
         * it as if we are mapping a poolpage and avoid consuming any KVAs.
         */
-       if (nsegs == 1 && (flags & BUS_DMA_NOCACHE) == 0) {
+       if (nsegs == 1 && (flags & BUS_DMA_DONTCACHE) == 0) {
                KASSERT(size == segs->ds_len);
                addr = BUS_MEM_TO_PHYS(t, segs->ds_addr);
                *kvap = (void *)PMAP_MAP_POOLPAGE(addr);



Home | Main Index | Thread Index | Old Index