Subject: re: clarification between machine_arch and machine
To: Andrew Brown <atatat@atatdot.net>
From: matthew green <mrg@eterna.com.au>
List: tech-kern
Date: 01/28/2002 04:21:18
   >   >   	hw.model = MB86904 @ 110 MHz, on-chip FPU
   >
   >yes, that's a microsparcII isn't it?  sun4m.
   
   so microsparcII would not have been my guess.  it's made by tatung,
   fwtw.  it still doesn't seem that much to ask, however, that there be
   a much easier way to "divine" this information.


from sys/arch/sparc/sparc/cpu.c:

	/* TI Microsparc II */
	[ ... ]
	struct module_info module_swift = {
		CPUTYP_MS2,

	[ ... ]
	{ CPU_SUN4M, 0, 4, 0, 4, "MB86904", &module_swift },


it probably could be made available in a more available format.
it would be nice if the "platform name" of sparcs was made
avaiable via sysctl hw.  eg, from:

ok dev /
ok .properties
[ ... ]
name                     SUNW,Ultra-5_10
[ ... ]
banner-name              Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz)
[ ... ]

we could get:

	hw.name = SUNW,Ultra-5_10
	hw.banner-name = Sun Ultra 5/10 UPA/PCI (UltraSPARC-IIi 270MHz)