Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vax Recognise VAX 6000/400.



details:   https://anonhg.NetBSD.org/src/rev/ab3517f5e497
branches:  trunk
changeset: 494464:ab3517f5e497
user:      ragge <ragge%NetBSD.org@localhost>
date:      Thu Jul 06 17:36:22 2000 +0000

description:
Recognise VAX 6000/400.

diffstat:

 sys/arch/vax/vax/gencons.c |  3 ++-
 sys/arch/vax/vax/locore.c  |  9 ++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (47 lines):

diff -r ab81d44f4dc0 -r ab3517f5e497 sys/arch/vax/vax/gencons.c
--- a/sys/arch/vax/vax/gencons.c        Thu Jul 06 17:34:29 2000 +0000
+++ b/sys/arch/vax/vax/gencons.c        Thu Jul 06 17:36:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gencons.c,v 1.24 2000/06/04 02:19:26 matt Exp $        */
+/*     $NetBSD: gencons.c,v 1.25 2000/07/06 17:36:22 ragge Exp $       */
 
 /*
  * Copyright (c) 1994 Gordon W. Ross
@@ -271,6 +271,7 @@
        struct  consdev *cndev;
 {
        if ((vax_cputype < VAX_TYP_UV1) || /* All older has MTPR console */
+           (vax_boardtype == VAX_BTYP_9RR) ||
            (vax_boardtype == VAX_BTYP_630) ||
            (vax_boardtype == VAX_BTYP_660) ||
            (vax_boardtype == VAX_BTYP_670) ||
diff -r ab81d44f4dc0 -r ab3517f5e497 sys/arch/vax/vax/locore.c
--- a/sys/arch/vax/vax/locore.c Thu Jul 06 17:34:29 2000 +0000
+++ b/sys/arch/vax/vax/locore.c Thu Jul 06 17:36:22 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.c,v 1.48 2000/06/29 07:14:28 mrg Exp $  */
+/*     $NetBSD: locore.c,v 1.49 2000/07/06 17:36:23 ragge Exp $        */
 /*
  * Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -68,6 +68,7 @@
 extern struct cpu_dep ka750_calls;
 extern struct cpu_dep ka860_calls;
 extern struct cpu_dep ka820_calls;
+extern struct cpu_dep ka6400_calls;
 extern struct cpu_dep ka88_calls;
 extern struct cpu_dep ka43_calls;
 extern struct cpu_dep ka46_calls;
@@ -231,6 +232,12 @@
                dep_call = &ka88_calls;
                break;
 #endif
+#if VAX6400
+       case VAX_BTYP_9RR:
+               /* cpu_model set in steal_pages */
+               dep_call = &ka6400_calls;
+               break;
+#endif
        default:
                /* CPU not supported, just give up */
                asm("halt");



Home | Main Index | Thread Index | Old Index