Add identifiers for newer 21264 CPUs (B, C and D), EV68 variants.

Information gleaned from corresponding code in FreeBSD.
This commit is contained in:
he 2002-07-25 15:39:41 +00:00
parent b0f2d974df
commit af9f155a33
2 changed files with 9 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.c,v 1.65 2002/06/02 14:44:35 drochner Exp $ */ /* $NetBSD: cpu.c,v 1.66 2002/07/25 15:39:41 he Exp $ */
/*- /*-
* Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc. * Copyright (c) 1998, 1999, 2000, 2001 The NetBSD Foundation, Inc.
@ -66,7 +66,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */ #include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.65 2002/06/02 14:44:35 drochner Exp $"); __KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.66 2002/07/25 15:39:41 he Exp $");
#include "opt_ddb.h" #include "opt_ddb.h"
#include "opt_multiprocessor.h" #include "opt_multiprocessor.h"
@ -151,6 +151,9 @@ struct cputable_struct {
{ PCS_PROC_PCA56, "PCA56", NULL }, { PCS_PROC_PCA56, "PCA56", NULL },
{ PCS_PROC_PCA57, "PCA57", NULL }, { PCS_PROC_PCA57, "PCA57", NULL },
{ PCS_PROC_EV67, "21264A", NULL }, { PCS_PROC_EV67, "21264A", NULL },
{ PCS_PROC_EV68CB, "21264C", NULL },
{ PCS_PROC_EV68AL, "21264B", NULL },
{ PCS_PROC_EV68CX, "21264D", NULL },
}; };
/* /*

View File

@ -1,4 +1,4 @@
/* $NetBSD: rpb.h,v 1.39 2001/05/03 20:52:19 thorpej Exp $ */ /* $NetBSD: rpb.h,v 1.40 2002/07/25 15:39:42 he Exp $ */
/* /*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@ -281,6 +281,9 @@ struct pcs {
#define PCS_PROC_PCA56 9 /* PCA56: 21164PC */ #define PCS_PROC_PCA56 9 /* PCA56: 21164PC */
#define PCS_PROC_PCA57 10 /* PCA57: 21164?? */ #define PCS_PROC_PCA57 10 /* PCA57: 21164?? */
#define PCS_PROC_EV67 11 /* EV67: 21246A */ #define PCS_PROC_EV67 11 /* EV67: 21246A */
#define PCS_PROC_EV68CB 12 /* EV68CB: 21264C */
#define PCS_PROC_EV68AL 13 /* EV68AL: 21264B */
#define PCS_PROC_EV68CX 14 /* EV68CX: 21264D */
#define PCS_CPU_MAJORTYPE(p) ((p)->pcs_proc_type & 0xffffffff) #define PCS_CPU_MAJORTYPE(p) ((p)->pcs_proc_type & 0xffffffff)
#define PCS_CPU_MINORTYPE(p) ((p)->pcs_proc_type >> 32) #define PCS_CPU_MINORTYPE(p) ((p)->pcs_proc_type >> 32)