From 41d36ec93d7e57bda005a0fbe9988a56f8ba1f41 Mon Sep 17 00:00:00 2001 From: matt Date: Wed, 10 Jun 2015 05:03:59 +0000 Subject: [PATCH] Add entry for MIPS 1074K --- sys/arch/mips/mips/mips_machdep.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/sys/arch/mips/mips/mips_machdep.c b/sys/arch/mips/mips/mips_machdep.c index d063badf072c..923609708098 100644 --- a/sys/arch/mips/mips/mips_machdep.c +++ b/sys/arch/mips/mips/mips_machdep.c @@ -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 /* 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" },