Module Name:    src
Committed By:   matt
Date:           Tue Jul 19 19:55:23 UTC 2011

Modified Files:
        src/sys/arch/powerpc/powerpc: bus_dma.c

Log Message:
Fix missed change of BUS_DMA_NOCACHE to BUS_DMA_DONTCACHE.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/powerpc/powerpc/bus_dma.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/powerpc/powerpc/bus_dma.c
diff -u src/sys/arch/powerpc/powerpc/bus_dma.c:1.43 src/sys/arch/powerpc/powerpc/bus_dma.c:1.44
--- src/sys/arch/powerpc/powerpc/bus_dma.c:1.43	Sun Jul 17 23:23:54 2011
+++ src/sys/arch/powerpc/powerpc/bus_dma.c	Tue Jul 19 19:55:23 2011
@@ -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);

Reply via email to