Subject: hw.model [Was: Re: CVS commit: src/sys/arch]
To: matthew green <mrg@netbsd.org>
From: Lubomir Sedlacik <salo@Xtrmntr.org>
List: port-sparc64
Date: 12/22/2002 09:26:10
--Qxx1br4bt0+wmkIi
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
hi,
On Sun, Dec 22, 2002 at 04:17:26AM +0200, matthew green wrote:
>=20
> 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:
>=20
> old:
> hw.model =3D TMS390Z50 v0 or TMS390Z55 @ 75 MHz, on-chip FPU
> hw.model =3D SUNW,UltraSPARC @ 143.002 MHz, version 0 FPU
>=20
> 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)?
regards,
--=20
-- Lubomir Sedlacik <salo@Xtrmntr.org> --
-- <salo@silcnet.org> --
--Qxx1br4bt0+wmkIi
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (NetBSD)
iD8DBQE+BXciiwjDDlS8cmMRAmYMAJ9OdA2l5MFEv9bqziU9F8XSSyWxbQCfZJB6
ht//K9LlpPgNWJ1nUTnfxA8=
=+ahE
-----END PGP SIGNATURE-----
--Qxx1br4bt0+wmkIi--