Subject: Re: Halfway booted an uV3100/M40
To: None <carlini@bulean.ENET.dec.com>
From: Michael Kukat <michael@camaronet.de>
List: port-vax
Date: 05/23/1999 19:08:04
Hi !

> So for a MicroVAX 3100-30 you have: SYS_TYPE 0x04010001
> For a VAXstation 4000 VLC you have: SYS_TYPE 0x04010102

Missing the values of the 4000/200 :-)

> Both have a family of 04 but the SYS_DEP field is different.
> The other fields are machine dependent and often vary according to firmware
> rev installed etc.

> 2) Not *all* machines that implement SYS_TYPE do so at 0x20040004 (I think
>    this affects at least the later VAX 4000 range).

I just checked out the VAX 4000/300, it seems to have the correct
location of the value.
It reads 0x01490401, CPU is a Rigel (0x0b000006)

The older machines don't use the SYS_TYPE in the netbsd kernel (just
have a look at locore.c), and the same way we must include another case
block when the first newer machine is seen :-)

Ragge, we should change this a little bit to get more values into. Hope
nobody hardcoded the values somewhere, so we only need to change the
include file and the way the value is generated. I think something like

(SID & 0xff000000) | ((SYS_TYPE >> 8) & 0xff0000) | (SYS_TYPE & 0xffff)

should include all information we need to detect the really correct
machine.

so long... Michael