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 If the clock speed is less than 15MHz, we...



details:   https://anonhg.NetBSD.org/src/rev/1f5b3e317d84
branches:  trunk
changeset: 467541:1f5b3e317d84
user:      simonb <simonb%NetBSD.org@localhost>
date:      Thu Mar 25 19:55:37 1999 +0000

description:
If the clock speed is less than 15MHz, we're on a 2100, otherwise a 3100.

diffstat:

 sys/arch/pmax/pmax/dec_3100.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r c505e49b8c58 -r 1f5b3e317d84 sys/arch/pmax/pmax/dec_3100.c
--- a/sys/arch/pmax/pmax/dec_3100.c     Thu Mar 25 19:41:47 1999 +0000
+++ b/sys/arch/pmax/pmax/dec_3100.c     Thu Mar 25 19:55:37 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dec_3100.c,v 1.7 1999/03/25 01:17:52 simonb Exp $      */
+/*     $NetBSD: dec_3100.c,v 1.8 1999/03/25 19:55:37 simonb Exp $      */
 
 /*
  * Copyright (c) 1998 Jonathan Stone.  All rights reserved.
@@ -134,7 +134,7 @@
        platform.cons_init = dec_3100_cons_init;
        platform.device_register = dec_3100_device_register;
 
-       strcpy(cpu_model, "DECstation 2100 or 3100 (PMAX)");
+       sprintf(cpu_model, "DECstation %d100 (PMAX)", cpu_mhz < 15 ? 3 : 2);
 
        dec_3100_os_init();
 }



Home | Main Index | Thread Index | Old Index