From ce14ebd2b7cb0617ce69de409d058ca5c47d24e2 Mon Sep 17 00:00:00 2001 From: pk Date: Tue, 24 Mar 1998 10:00:14 +0000 Subject: [PATCH] Include not-cacheable bit in base bus space mmap function. --- sys/arch/sparc/sparc/machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sparc/sparc/machdep.c b/sys/arch/sparc/sparc/machdep.c index 1843e38ed4fb..e19d804b2b18 100644 --- a/sys/arch/sparc/sparc/machdep.c +++ b/sys/arch/sparc/sparc/machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: machdep.c,v 1.106 1998/03/21 20:33:31 pk Exp $ */ +/* $NetBSD: machdep.c,v 1.107 1998/03/24 10:00:14 pk Exp $ */ /*- * Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc. @@ -1875,7 +1875,7 @@ sparc_bus_mmap(cookie, iospace, paddr, flags) bus_addr_t paddr; int flags; { - return (paddr | PMAP_IOENC(iospace)); + return (paddr | PMAP_IOENC(iospace) | PMAP_NC); }