Subject: port-pmax/11262: A DECStation 2100 is a PMIN and no PMAX
To: None <gnats-bugs@gnats.netbsd.org>
From: None <Thilo.Manske@HEH.Uni-Oldenburg.DE>
List: netbsd-bugs
Date: 10/19/2000 03:09:16
>Number:         11262
>Category:       port-pmax
>Synopsis:       A DECStation 2100 is a PMIN and no PMAX
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-pmax-maintainer
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Thu Oct 19 03:09:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Thilo Manske
>Release:        1.5_ALPHA2 and before
>Organization:
Dies ist Thilos Unix Signature! Viel Spass damit.
>Environment:
	
System:



>Description:
When booting NetBSD on a DECStation 2100 you will see something like:

[...]
NetBSD 1.5_ALPHA2 (Mini) #35: Thu Oct 19 11:46:26 MEST 2000
    thilo@Max:/usr/src/sys/arch/pmax/compile/Mini          
DECstation 2100 (PMAX)                           
total memory = 12288 KB
[...]

But according to http://www.netbsd.org/Ports/pmax/models.html#ds2100
a DECstation 2100 is a PMIN


>How-To-Repeat:
see above
>Fix:
Tweak the message a little bit, e.g. this way:

--- dec_3100.c.old	Tue Jun  6 12:14:42 2000
+++ dec_3100.c	Tue Oct 17 11:14:31 2000
@@ -123,7 +123,8 @@
 	/* 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);
+	sprintf(cpu_model, "DECstation %s", cpu_mhz < 15 ?
+		"2100 (PMIN)" : "3100 (PMAX)");
 }
 
 /*
>Release-Note:
>Audit-Trail:
>Unformatted: