Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/alpha Identify the various ev6 pass numbers.



details:   https://anonhg.NetBSD.org/src/rev/9d55335a3a29
branches:  trunk
changeset: 474133:9d55335a3a29
user:      ross <ross%NetBSD.org@localhost>
date:      Tue Jun 29 06:49:36 1999 +0000

description:
Identify the various ev6 pass numbers.
Also print the raw pass number rpb value as, say, `21264-4', like SRM does.

diffstat:

 sys/arch/alpha/alpha/cpu.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r d5e1fdbd003c -r 9d55335a3a29 sys/arch/alpha/alpha/cpu.c
--- a/sys/arch/alpha/alpha/cpu.c        Tue Jun 29 06:46:46 1999 +0000
+++ b/sys/arch/alpha/alpha/cpu.c        Tue Jun 29 06:49:36 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu.c,v 1.35 1999/03/04 06:46:23 chs Exp $ */
+/* $NetBSD: cpu.c,v 1.36 1999/06/29 06:49:36 ross Exp $ */
 
 /*-
  * Copyright (c) 1998, 1999 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.35 1999/03/04 06:46:23 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: cpu.c,v 1.36 1999/06/29 06:49:36 ross Exp $");
 
 #include "opt_multiprocessor.h"
 
@@ -130,7 +130,7 @@
 }, *ev56minor[] = {
        "", "pass 1", "pass 2", 0
 }, *ev6minor[] = {
-       "", "pass 1", 0
+       "pass 1", "pass 2", "pass 2.2", "pass 2.3", "pass 3", 0
 }, *pca56minor[] = {
        "", "pass 1", 0
 };
@@ -218,7 +218,7 @@
 
        for(i = 0; i < sizeof cpunametable / sizeof cpunametable[0]; ++i) {
                if (cpunametable[i].cpu_major_code == major) {
-                       printf("%s", cpunametable[i].cpu_major_name);
+                       printf("%s-%d", cpunametable[i].cpu_major_name, minor);
                        s = cpunametable[i].cpu_minor_names;
                        for(i = 0; s && s[i]; ++i) {
                                if (i == minor) {



Home | Main Index | Thread Index | Old Index