Module Name: src
Committed By: matt
Date: Wed Jun 10 05:03:59 UTC 2015
Modified Files:
src/sys/arch/mips/mips: mips_machdep.c
Log Message:
Add entry for MIPS 1074K
To generate a diff of this commit:
cvs rdiff -u -r1.266 -r1.267 src/sys/arch/mips/mips/mips_machdep.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/arch/mips/mips/mips_machdep.c
diff -u src/sys/arch/mips/mips/mips_machdep.c:1.266 src/sys/arch/mips/mips/mips_machdep.c:1.267
--- src/sys/arch/mips/mips/mips_machdep.c:1.266 Mon Jun 8 18:22:23 2015
+++ src/sys/arch/mips/mips/mips_machdep.c Wed Jun 10 05:03:59 2015
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_machdep.c,v 1.266 2015/06/08 18:22:23 macallan Exp $ */
+/* $NetBSD: mips_machdep.c,v 1.267 2015/06/10 05:03:59 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.266 2015/06/08 18:22:23 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.267 2015/06/10 05:03:59 matt Exp $");
#define __INTR_PRIVATE
#include "opt_cputype.h"
@@ -489,6 +489,13 @@ static const struct pridtab cputab[] = {
MIPS_CP0FL_CONFIG | MIPS_CP0FL_CONFIG1 | MIPS_CP0FL_CONFIG2 |
MIPS_CP0FL_CONFIG3 | MIPS_CP0FL_CONFIG6 | MIPS_CP0FL_CONFIG7,
0, "1004K" },
+ { MIPS_PRID_CID_MTI, MIPS_1074K, -1, -1, -1, 0,
+ MIPS32_FLAGS | CPU_MIPS_DOUBLE_COUNT,
+ MIPS_CP0FL_USE |
+ MIPS_CP0FL_EBASE | MIPS_CP0FL_USERLOCAL | MIPS_CP0FL_HWRENA |
+ MIPS_CP0FL_CONFIG | MIPS_CP0FL_CONFIG1 | MIPS_CP0FL_CONFIG2 |
+ MIPS_CP0FL_CONFIG3 | MIPS_CP0FL_CONFIG6 | MIPS_CP0FL_CONFIG7,
+ 0, "1074K" },
{ MIPS_PRID_CID_BROADCOM, MIPS_BCM3302, -1, -1, -1, 0,
MIPS32_FLAGS | CPU_MIPS_DOUBLE_COUNT, 0, 0, "BCM3302" },