Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mips/mips xburst needs CPU_MIPS_D_CACHE_COHERENT



details:   https://anonhg.NetBSD.org/src/rev/254fb8f04e40
branches:  trunk
changeset: 346653:254fb8f04e40
user:      macallan <macallan%NetBSD.org@localhost>
date:      Mon Jul 25 22:10:03 2016 +0000

description:
xburst needs CPU_MIPS_D_CACHE_COHERENT

diffstat:

 sys/arch/mips/mips/mips_machdep.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 40b9d7ca8ba2 -r 254fb8f04e40 sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Mon Jul 25 22:00:36 2016 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Mon Jul 25 22:10:03 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mips_machdep.c,v 1.272 2016/07/11 18:56:41 skrll Exp $ */
+/*     $NetBSD: mips_machdep.c,v 1.273 2016/07/25 22:10:03 macallan Exp $      */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -111,7 +111,7 @@
  */
 
 #include <sys/cdefs.h>                 /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.272 2016/07/11 18:56:41 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.273 2016/07/25 22:10:03 macallan Exp $");
 
 #define __INTR_PRIVATE
 #include "opt_cputype.h"
@@ -660,7 +660,8 @@
 
        /* Ingenic XBurst */
        { MIPS_PRID_CID_INGENIC, MIPS_XBURST,  -1, -1,  -1, 0,
-         MIPS32_FLAGS | CPU_MIPS_DOUBLE_COUNT, 0, 0, "XBurst"          },
+         MIPS32_FLAGS | CPU_MIPS_D_CACHE_COHERENT | CPU_MIPS_DOUBLE_COUNT,
+         0, 0, "XBurst"                },
 
        { 0, 0, 0,                              0, 0, 0,
          0, 0, 0,                              NULL                    }



Home | Main Index | Thread Index | Old Index