Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/arch/pmax/pmax Pull up revision 1.31 (requested by ...
details: https://anonhg.NetBSD.org/src/rev/82327e414623
branches: netbsd-1-5
changeset: 490601:82327e414623
user: he <he%NetBSD.org@localhost>
date: Sat Feb 03 20:37:17 2001 +0000
description:
Pull up revision 1.31 (requested by ad):
Distinguish between PMIN and PMAX in boot message.
diffstat:
sys/arch/pmax/pmax/dec_3100.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 8425d05ce936 -r 82327e414623 sys/arch/pmax/pmax/dec_3100.c
--- a/sys/arch/pmax/pmax/dec_3100.c Sat Feb 03 20:32:33 2001 +0000
+++ b/sys/arch/pmax/pmax/dec_3100.c Sat Feb 03 20:37:17 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dec_3100.c,v 1.30 2000/06/06 00:08:24 nisimura Exp $ */
+/* $NetBSD: dec_3100.c,v 1.30.2.1 2001/02/03 20:37:17 he Exp $ */
/*
* Copyright (c) 1998 Jonathan Stone. All rights reserved.
@@ -105,6 +105,8 @@
void
dec_3100_init()
{
+ const char *submodel;
+
platform.iobus = "baseboard";
platform.bus_reset = dec_3100_bus_reset;
platform.cons_init = dec_3100_cons_init;
@@ -123,7 +125,11 @@
/* calibrate cpu_mhz value */
mc_cpuspeed(MIPS_PHYS_TO_KSEG1(KN01_SYS_CLOCK), MIPS_INT_MASK_3);
- sprintf(cpu_model, "DECstation %d100 (PMAX)", cpu_mhz < 15 ? 2 : 3);
+ if (cpu_mhz < 15)
+ submodel = "2100 (PMIN)";
+ else
+ submodel = "3100 (PMAX)";
+ sprintf(cpu_model, "DECstation %s", submodel);
}
/*
Home |
Main Index |
Thread Index |
Old Index