Subject: small type-o in arch/pmax/pmax/dec_3100.c
To: None <port-pmax@netbsd.org>
From: NetBSD Mailing list <netbsd@mrynet.com>
List: port-pmax
Date: 12/22/1999 03:37:32
The kernel is reporting my DECstation 3100 as a 2100.
Following is a patch to what appears to be the obvious reason:

==================
--- dec_3100.c.old      Fri Dec  3 04:11:10 1999
+++ dec_3100.c  Wed Dec 22 03:32:17 1999
@@ -134,7 +134,7 @@
        /* 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 ? 3 : 2);
+       sprintf(cpu_model, "DECstation %d100 (PMAX)", cpu_mhz < 15 ? 2 : 3);
 }
 
 /*
==================

Docs on the DECstation 2100/3100's indicate the 2100 is 12.5mhz and the 3100
is 16.67mhz, which would lend an argument against the original conditional.

Perhaps someone can peruse this and commit it.

Cheers,
-skots
--
Scott G. Akmentins-Taylor     InterNet: staylor@mrynet.com
MRY Systems			        staylor@mrynet.lv
    (Skots Gregorijs Akmentins-Teilors -- just call me "Skots")
		----- Labak miris neka sarkans -----