Subject: hw.model [Was: Re: CVS commit: src/sys/arch]
To: matthew green <>
From: Lubomir Sedlacik <>
List: port-sparc
Date: 12/22/2002 09:26:10
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable


On Sun, Dec 22, 2002 at 04:17:26AM +0200, matthew green wrote:
> Log Message:
> change what 'hw.model' reports to be more inline with other netbsd
> ports, as well as reporting the actual machine model & cpu, rather
> than first configured CPU.  changes for two machines are:
> old:
> 	hw.model =3D TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU
> 	hw.model =3D SUNW,UltraSPARC @ 143.002 MHz, version 0 FPU
> new:
> 	hw.model =3D SUNW,SPARCstation-20 (TMS390Z50 v0 or TMS390Z55 @ 75 MHz, o=
n-chip FPU)
> 	hw.model =3D SUNW,Ultra-1 (SUNW,UltraSPARC @ 143.002 MHz, version 0 FPU)

what will it show in situation when you have more than one cpu?  the cpu
information in parentheses seems to be misguiding in that case.

i don't understand why hw.model should contain information about cpu (on
SPARC and UltraSPARC machines).  wouldn't it be better to have hw.cpu?
for each processor in the machine instead and let hw.model inform about
_machine_ not cpus (as the name suggests it)?


-- Lubomir Sedlacik <>                   --
--                  <>                   --

Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.1 (NetBSD)