Subject: Re: small type-o in arch/pmax/pmax/dec_3100.c
To: NetBSD Mailing list <netbsd@mrynet.com>
From: Simon Burge <simonb@netbsd.org>
List: port-pmax
Date: 12/23/1999 09:07:26
NetBSD Mailing list wrote:
> 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.
This is indeed incorrect! I've never noticed that my 3100 comes up as a:
DECstation 2100 (PMAX)
I'll commit this now.
Ta,
Simon.