summaryrefslogtreecommitdiff
path: root/sys/arch/powerpc/powerpc/dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/powerpc/powerpc/dma.c')
-rw-r--r--sys/arch/powerpc/powerpc/dma.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/powerpc/powerpc/dma.c b/sys/arch/powerpc/powerpc/dma.c
index 00d491bfe3a..f9b8bfae9c7 100644
--- a/sys/arch/powerpc/powerpc/dma.c
+++ b/sys/arch/powerpc/powerpc/dma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dma.c,v 1.6 2001/06/27 04:37:20 art Exp $ */
+/* $OpenBSD: dma.c,v 1.7 2001/07/25 13:25:32 art Exp $ */
/* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */
/*-
@@ -374,8 +374,8 @@ _dmamem_map(t, segs, nsegs, size, kvap, flags)
if (size == 0)
panic("_bus_dmamem_map: size botch");
pmap_enter(pmap_kernel(), va, addr,
- VM_PROT_READ | VM_PROT_WRITE, TRUE,
- VM_PROT_READ | VM_PROT_WRITE);
+ VM_PROT_READ | VM_PROT_WRITE,
+ VM_PROT_READ | VM_PROT_WRITE | PMAP_WIRED);
}
}