Subject: Re: contrast and kdm on powerbook
To: None <port-macppc@netbsd.org>
From: Tim Kelly <hockey@dialectronics.com>
List: port-macppc
Date: 01/22/2005 08:34:53
On Sat, 22 Jan 2005 08:19:31 -0500
Allen Briggs <briggs@netbsd.org> wrote:

> It didn't.  At least, according to Matt's initial dmesg.  Looking back
> at http://mail-index.netbsd.org/port-macppc/2005/01/20/0006.html:
> 
> mainbus0 (root)
> cpu0 at mainbus0: Version 0x8003 (Revision 0x0102), ID 0 (primary)
> cpu0: HID0 8410c0bc<EMCP,EICE,DPM,ICE,DCE,SGE,BTIC,FBIOB,ABE,BHT>
> uninorth0 at mainbus0
> 
> No CPU speed measurement or L2 cache listed.

Yes, which was my point. The above is expected behavior for an
unrecognized CPU. His second one, at

http://mail-index.netbsd.org/port-macppc/2005/01/20/0013.html

cpu0 at mainbus0: 7447A (Revision 1.2), ID 0 (primary)
cpu0: HID0 8450c0bc<EMCP,EICE,NAP,DPM,ICE,DCE,SGE,BTIC,FBIOB,ABE,BHT>
cpu0: 1416.67 MHz, 512KB L2 cache

is after he added support for MPC7447A. The first dmesg didn't have
support for MPC7447 and didn't measure the CPU speed and L2 cache
because he was running 2.99.14. Davide
Zanon is running 2.0 which will measure CPU speed and L2 caches if the
mask matches an 8xxx3 or greater CPU because 2.0 cpu_subr.c uses the if
condition instead of the switch(vers) of -current.

tim