Subject: Re: sysctl hw.model considered useless
To: None <port-sparc@netbsd.org, port-sparc64@netbsd.org>
From: Bernd Sieker <bsieker@freenet.de>
List: port-sparc64
Date: 12/13/2002 11:51:36
On 13.12.02, 09:48:01, David Brownlee wrote:
> 	On the other ports hw.model seems to report the CPU model rather
> 	than the machine model. I definitely agree the machine model
> 	should be available, but possibly via a different sysctl (or
> 	introduce 'hw.cpu_model'?

It's different on different ports. On i386 it reports the CPU model
because that's the only sensible thing to do. It usually cannot
determince whether it's a Compaq Deskpro or an IBM Netfinity Server.

On the other architectures I've tested it reports the computer model,
with the CPU model in parantheses:

hpcmips:
IBM WorkPad z50 2601 1AU (NEC VR4121 rev0.0 131.072MHz)

hp300:
HP 9000/400 (50MHz MC68030 CPU+MMU, 50Mhz MC68882 FPU, 32k physical-address cache)

> 
> -- 
> 		David/absolute          -- www.netbsd.org: No hype required --

-- 
Bernd Sieker

NetBSD: Power Your Net.
		-- Andrew Gillham