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 Enable HWRENA for the CN50xx even though ...
details: https://anonhg.NetBSD.org/src/rev/84f1019f96d9
branches: trunk
changeset: 338460:84f1019f96d9
user: matt <matt%NetBSD.org@localhost>
date: Mon May 25 23:45:54 2015 +0000
description:
Enable HWRENA for the CN50xx even though it doesn't support USERLOCAL.
Enable the MIPS64R2 locoresw.
diffstat:
sys/arch/mips/mips/mips_machdep.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (39 lines):
diff -r aecd538a7fcd -r 84f1019f96d9 sys/arch/mips/mips/mips_machdep.c
--- a/sys/arch/mips/mips/mips_machdep.c Mon May 25 21:18:29 2015 +0000
+++ b/sys/arch/mips/mips/mips_machdep.c Mon May 25 23:45:54 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_machdep.c,v 1.263 2015/04/29 08:32:00 hikaru Exp $ */
+/* $NetBSD: mips_machdep.c,v 1.264 2015/05/25 23:45:54 matt 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.263 2015/04/29 08:32:00 hikaru Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.264 2015/05/25 23:45:54 matt Exp $");
#define __INTR_PRIVATE
#include "opt_cputype.h"
@@ -643,7 +643,7 @@
{ MIPS_PRID_CID_CAVIUM, MIPS_CN50XX, -1, -1, -1, 0,
MIPS64_FLAGS | CPU_MIPS_D_CACHE_COHERENT | CPU_MIPS_NO_LLADDR,
MIPS_CP0FL_USE |
- MIPS_CP0FL_EBASE | MIPS_CP0FL_CONFIG |
+ MIPS_CP0FL_EBASE | MIPS_CP0FL_CONFIG | MIPS_CP0FL_HWRENA |
MIPS_CP0FL_CONFIG1 | MIPS_CP0FL_CONFIG2 | MIPS_CP0FL_CONFIG3,
0,
"CN50xx" },
@@ -1167,11 +1167,9 @@
case CPU_ARCH_MIPS32:
opts->mips_cpu_arch = CPU_ARCH_MIPS32R2;
break;
-#ifdef notyet
case CPU_ARCH_MIPS64:
opts->mips_cpu_arch = CPU_ARCH_MIPS64R2;
break;
-#endif
default:
printf("WARNING: MIPS32/64 arch %d revision %d "
"unknown!\n", opts->mips_cpu_arch,
Home |
Main Index |
Thread Index |
Old Index