Source-Changes-HG archive

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

[src/netbsd-1-6]: src/sys/arch/vax/vax Pull up revision 1.64 (requested by ra...



details:   https://anonhg.NetBSD.org/src/rev/2a92c18495ad
branches:  netbsd-1-6
changeset: 527744:2a92c18495ad
user:      lukem <lukem%NetBSD.org@localhost>
date:      Wed Jun 05 04:13:08 2002 +0000

description:
Pull up revision 1.64 (requested by ragge in ticket #157):
Repair VAX8600 support, which had bit-rotten, probably not used since -98.

diffstat:

 sys/arch/vax/vax/locore.c |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (39 lines):

diff -r 19f3dd70db31 -r 2a92c18495ad sys/arch/vax/vax/locore.c
--- a/sys/arch/vax/vax/locore.c Wed Jun 05 04:13:00 2002 +0000
+++ b/sys/arch/vax/vax/locore.c Wed Jun 05 04:13:08 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.c,v 1.63 2001/09/28 11:59:54 chs Exp $  */
+/*     $NetBSD: locore.c,v 1.63.14.1 2002/06/05 04:13:08 lukem Exp $   */
 /*
  * Copyright (c) 1994, 1998 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -74,6 +74,7 @@
 extern struct cpu_dep ka43_calls;
 extern struct cpu_dep ka46_calls;
 extern struct cpu_dep ka48_calls;
+extern struct cpu_dep vxt_calls;
 extern struct cpu_dep ka49_calls;
 extern struct cpu_dep ka53_calls;
 extern struct cpu_dep ka410_calls;
@@ -125,7 +126,7 @@
        case VAX_BTYP_790:
                dep_call = &ka860_calls;
                strcpy(cpu_model,"VAX 8600");
-               if (vax_cpudata & 0x100)
+               if (vax_cpudata & 0x800000)
                        cpu_model[6] = '5';
                break;
 #endif
@@ -170,6 +171,12 @@
                }
                break;
 #endif
+#if 0 && (VXT2000 || VAXANY)
+       case VAX_BTYP_VXT:
+               dep_call = &vxt_calls;
+               strcpy(cpu_model, "VXT 2000 X terminal");
+               break;
+#endif
 #if VAX49 || VAXANY
        case VAX_BTYP_49:
                dep_call = &ka49_calls;



Home | Main Index | Thread Index | Old Index