Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/alpha Add identifiers for newer 21264 CPUs (B, C an...



details:   https://anonhg.NetBSD.org/src/rev/95b110e4f61d
branches:  trunk
changeset: 534422:95b110e4f61d
user:      he <he%NetBSD.org@localhost>
date:      Thu Jul 25 15:39:41 2002 +0000

description:
Add identifiers for newer 21264 CPUs (B, C and D), EV68 variants.
Information gleaned from corresponding code in FreeBSD.

diffstat:

 sys/arch/alpha/alpha/cpu.c   |  7 +++++--
 sys/arch/alpha/include/rpb.h |  5 ++++-
 2 files changed, 9 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 44dbb05ed865 -r 95b110e4f61d sys/arch/alpha/alpha/cpu.c
--- a/sys/arch/alpha/alpha/cpu.c        Thu Jul 25 15:19:17 2002 +0000
+++ b/sys/arch/alpha/alpha/cpu.c        Thu Jul 25 15:39:41 2002 +0000
@@ -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.
@@ -66,7 +66,7 @@
 
 #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_multiprocessor.h"
@@ -151,6 +151,9 @@
        { PCS_PROC_PCA56,       "PCA56",        NULL            },
        { PCS_PROC_PCA57,       "PCA57",        NULL            },
        { PCS_PROC_EV67,        "21264A",       NULL            },
+       { PCS_PROC_EV68CB,      "21264C",       NULL            },
+       { PCS_PROC_EV68AL,      "21264B",       NULL            },
+       { PCS_PROC_EV68CX,      "21264D",       NULL            },
 };
 
 /*
diff -r 44dbb05ed865 -r 95b110e4f61d sys/arch/alpha/include/rpb.h
--- a/sys/arch/alpha/include/rpb.h      Thu Jul 25 15:19:17 2002 +0000
+++ b/sys/arch/alpha/include/rpb.h      Thu Jul 25 15:39:41 2002 +0000
@@ -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.
@@ -281,6 +281,9 @@
 #define        PCS_PROC_PCA56          9                       /* PCA56: 21164PC */
 #define        PCS_PROC_PCA57          10                      /* PCA57: 21164?? */
 #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_MINORTYPE(p) ((p)->pcs_proc_type >> 32)



Home | Main Index | Thread Index | Old Index