Module Name: src
Committed By: simonb
Date: Sat Jan 6 07:27:05 UTC 2024
Modified Files:
src/sys/arch/mips/mips: mips_machdep.c
Log Message:
Add Cavium CN68xx to list of known CPUs.
To generate a diff of this commit:
cvs rdiff -u -r1.304 -r1.305 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.304 src/sys/arch/mips/mips/mips_machdep.c:1.305
--- src/sys/arch/mips/mips/mips_machdep.c:1.304 Sun Oct 23 06:10:09 2022
+++ src/sys/arch/mips/mips/mips_machdep.c Sat Jan 6 07:27:05 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: mips_machdep.c,v 1.304 2022/10/23 06:10:09 skrll Exp $ */
+/* $NetBSD: mips_machdep.c,v 1.305 2024/01/06 07:27:05 simonb 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.304 2022/10/23 06:10:09 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mips_machdep.c,v 1.305 2024/01/06 07:27:05 simonb Exp $");
#define __INTR_PRIVATE
#include "opt_cputype.h"
@@ -671,6 +671,14 @@ static const struct pridtab cputab[] = {
0,
"CN50xx" },
+ { MIPS_PRID_CID_CAVIUM, MIPS_CN68XX, -1, -1, -1, 0,
+ MIPS64_FLAGS | CPU_MIPS_D_CACHE_COHERENT | CPU_MIPS_NO_LLADDR,
+ MIPS_CP0FL_USE |
+ MIPS_CP0FL_CONFIG | MIPS_CP0FL_CONFIG1 | MIPS_CP0FL_CONFIG2 |
+ MIPS_CP0FL_CONFIG3 | MIPS_CP0FL_CONFIG4,
+ 0,
+ "CN68xx" },
+
{ MIPS_PRID_CID_CAVIUM, MIPS_CN70XX, -1, -1, -1, 0,
MIPS64_FLAGS | CPU_MIPS_D_CACHE_COHERENT | CPU_MIPS_NO_LLADDR,
MIPS_CP0FL_USE | MIPS_CP0FL_EBASE |