diff --git a/sys/arch/mips/include/cpuregs.h b/sys/arch/mips/include/cpuregs.h index a6cc4c688016..ae47b9c32278 100644 --- a/sys/arch/mips/include/cpuregs.h +++ b/sys/arch/mips/include/cpuregs.h @@ -1,4 +1,4 @@ -/* $NetBSD: cpuregs.h,v 1.62 2003/08/07 16:28:27 agc Exp $ */ +/* $NetBSD: cpuregs.h,v 1.63 2003/09/28 08:16:51 tsutsui Exp $ */ /* * Copyright (c) 1992, 1993 @@ -715,7 +715,8 @@ /* For MIPS_R4000 */ #define MIPS_REV_R4000_A 0x00 -#define MIPS_REV_R4000_B 0x30 +#define MIPS_REV_R4000_B 0x22 +#define MIPS_REV_R4000_C 0x30 #define MIPS_REV_R4400_A 0x40 #define MIPS_REV_R4400_B 0x50 #define MIPS_REV_R4400_C 0x60 diff --git a/sys/arch/mips/mips/mips_machdep.c b/sys/arch/mips/mips/mips_machdep.c index 42d6a7ad9d7f..ea116a41cde3 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.165 2003/06/29 22:28:37 fvdl Exp $ */ +/* $NetBSD: mips_machdep.c,v 1.166 2003/09/28 08:16:51 tsutsui Exp $ */ /* * Copyright 2002 Wasabi Systems, Inc. @@ -119,7 +119,7 @@ #include /* RCS ID & Copyright macro defns */ -__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.165 2003/06/29 22:28:37 fvdl Exp $"); +__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.166 2003/09/28 08:16:51 tsutsui Exp $"); #include "opt_cputype.h" @@ -273,6 +273,9 @@ static const struct pridtab cputab[] = { { 0, MIPS_R4000, MIPS_REV_R4000_B, -1, CPU_ARCH_MIPS3, 48, CPU_MIPS_R4K_MMU | CPU_MIPS_DOUBLE_COUNT, "MIPS R4000 CPU" }, + { 0, MIPS_R4000, MIPS_REV_R4000_C, -1, CPU_ARCH_MIPS3, 48, + CPU_MIPS_R4K_MMU | CPU_MIPS_DOUBLE_COUNT, + "MIPS R4000 CPU" }, { 0, MIPS_R4000, MIPS_REV_R4400_A, -1, CPU_ARCH_MIPS3, 48, CPU_MIPS_R4K_MMU | CPU_MIPS_DOUBLE_COUNT, "MIPS R4400 CPU" },