Module Name: src
Committed By: matt
Date: Tue Jul 26 03:33:22 UTC 2011
Modified Files:
src/sys/arch/powerpc/include [matt-nb5-pq3]: bus.h
Log Message:
Force COHERENT bus dma mappings to be NOCACHE.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.20.26.1 src/sys/arch/powerpc/include/bus.h
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/include/bus.h
diff -u src/sys/arch/powerpc/include/bus.h:1.20 src/sys/arch/powerpc/include/bus.h:1.20.26.1
--- src/sys/arch/powerpc/include/bus.h:1.20 Mon Apr 28 20:23:32 2008
+++ src/sys/arch/powerpc/include/bus.h Tue Jul 26 03:33:22 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: bus.h,v 1.20 2008/04/28 20:23:32 martin Exp $ */
+/* $NetBSD: bus.h,v 1.20.26.1 2011/07/26 03:33:22 matt Exp $ */
/* $OpenBSD: bus.h,v 1.1 1997/10/13 10:53:42 pefo Exp $ */
/*-
@@ -99,7 +99,7 @@
#if defined(_KERNEL_OPT) && !defined(BUS_DMA_COHERENT)
#include "opt_ppcarch.h"
-#if defined(PPC_IBM4XX)
+#if defined(PPC_IBM4XX) || defined(PPC_BOOKE) || defined(PPC_OEA)
#define BUS_DMA_COHERENT BUS_DMA_NOCACHE
#endif /* PPC_IBM4XX */
#endif /* _KERNEL_OPT && !BUS_DMA_COHERENT */