summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2005-07-04 00:59:57 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2005-07-04 00:59:57 +0000
commit45ed37c574c386b6142ceb1e300746614aa49c02 (patch)
treea0fd3012b7f4073906e3bffe64a0e7d893b4270c
parent2028f0c8649f874bc9bb5706bafa74ae8f537a0a (diff)
always enforce cache-inhibit if bus_space_map()ping uncachable; drahn@ ok
-rw-r--r--sys/arch/macppc/macppc/machdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/macppc/macppc/machdep.c b/sys/arch/macppc/macppc/machdep.c
index 05546d8e08f..c721dbcfea2 100644
--- a/sys/arch/macppc/macppc/machdep.c
+++ b/sys/arch/macppc/macppc/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.70 2005/06/27 14:32:20 mickey Exp $ */
+/* $OpenBSD: machdep.c,v 1.71 2005/07/04 00:59:56 mickey Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@ -1128,7 +1128,7 @@ bus_mem_add_mapping(bus_addr_t bpa, bus_size_t size, int cacheable,
for (; len > 0; len -= PAGE_SIZE) {
pmap_kenter_cache(vaddr, spa,
VM_PROT_READ | VM_PROT_WRITE,
- cacheable ? PMAP_CACHE_WT : PMAP_CACHE_DEFAULT);
+ cacheable ? PMAP_CACHE_WT : PMAP_CACHE_CI);
spa += PAGE_SIZE;
vaddr += PAGE_SIZE;
}