Module Name:    src
Committed By:   macallan
Date:           Wed Mar 19 10:53:53 UTC 2025

Modified Files:
        src/sys/dev/sun: cgsix.c

Log Message:
don't set BUS_SPACCE_MAP_PREFETCHABLE - no known bus we can be connected to
supports it


To generate a diff of this commit:
cvs rdiff -u -r1.72 -r1.73 src/sys/dev/sun/cgsix.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/dev/sun/cgsix.c
diff -u src/sys/dev/sun/cgsix.c:1.72 src/sys/dev/sun/cgsix.c:1.73
--- src/sys/dev/sun/cgsix.c:1.72	Sun Sep 25 21:30:29 2022
+++ src/sys/dev/sun/cgsix.c	Wed Mar 19 10:53:53 2025
@@ -1,4 +1,4 @@
-/*	$NetBSD: cgsix.c,v 1.72 2022/09/25 21:30:29 thorpej Exp $ */
+/*	$NetBSD: cgsix.c,v 1.73 2025/03/19 10:53:53 macallan Exp $ */
 
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.72 2022/09/25 21:30:29 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cgsix.c,v 1.73 2025/03/19 10:53:53 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1094,8 +1094,7 @@ cgsixmmap(dev_t dev, off_t off, int prot
 			continue;
 		u = off - mo->mo_uaddr;
 		if (mo->mo_size == 0) {
-			flags = BUS_SPACE_MAP_LINEAR |
-				BUS_SPACE_MAP_PREFETCHABLE;
+			flags = BUS_SPACE_MAP_LINEAR;
 			sz = sc->sc_ramsize;
 		} else {
 			flags = BUS_SPACE_MAP_LINEAR;

Reply via email to