From 6bf625c8c0584b5c4c8d76842a2d99eac95e1ae5 Mon Sep 17 00:00:00 2001 From: ragge Date: Thu, 6 Jul 2000 17:36:22 +0000 Subject: [PATCH] Recognise VAX 6000/400. --- sys/arch/vax/vax/gencons.c | 3 ++- sys/arch/vax/vax/locore.c | 9 ++++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/sys/arch/vax/vax/gencons.c b/sys/arch/vax/vax/gencons.c index f24f883c8d94..ee67d87dac29 100644 --- a/sys/arch/vax/vax/gencons.c +++ b/sys/arch/vax/vax/gencons.c @@ -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 @@ gencnprobe(cndev) 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 --git a/sys/arch/vax/vax/locore.c b/sys/arch/vax/vax/locore.c index 7d9ac7fa314f..007e5a42bed8 100644 --- a/sys/arch/vax/vax/locore.c +++ b/sys/arch/vax/vax/locore.c @@ -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 ka780_calls; 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; @@ -230,6 +231,12 @@ start(struct rpb *prpb) strcpy(cpu_model, "VAX 8800"); 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 */