Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/pmax/pmax PMIN vs. PMAX in boot message. Pointed ou...
details: https://anonhg.NetBSD.org/src/rev/d0f440abf69d
branches: trunk
changeset: 499516:d0f440abf69d
user: ad <ad%NetBSD.org@localhost>
date: Tue Nov 21 14:19:10 2000 +0000
description:
PMIN vs. PMAX in boot message. Pointed out by Thilo Manske
<Thilo.Manske%HEH.Uni-Oldenburg.DE@localhost> in PR 11212.
diffstat:
sys/arch/pmax/pmax/dec_3100.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 1688756c725a -r d0f440abf69d sys/arch/pmax/pmax/dec_3100.c
--- a/sys/arch/pmax/pmax/dec_3100.c Tue Nov 21 13:54:13 2000 +0000
+++ b/sys/arch/pmax/pmax/dec_3100.c Tue Nov 21 14:19:10 2000 +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.31 2000/11/21 14:19:10 ad 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