Subject: Re: CPU Detection on 8600/300
To: Henry R. Bent <hbent@cs.oberlin.edu>
From: Allen Briggs <briggs@wasabisystems.com>
List: port-macppc
Date: 04/22/2004 22:50:19
On Thu, Apr 22, 2004 at 03:53:59PM -0400, Henry R. Bent wrote:
> The code for this is in cpu_identify() in arch/powerpc/oea/cpu_subr.c, but
> I'm not good enough with reading through the kernel sources to see where
> it's getting the info to ID the CPU.

Actually, it gets it from the processor version register (PVR).
The values that NetBSD knows are in arch/powerpc/include/spr.h.
Do you have the standard 604e CPU in there?  It looks like the 604
is 0x0004 and the 604ev is 0x0009.  It would make some sense if
the 604e were 0x000a.  It would be handy if Motorola had a
definitive PVR table somewhere.  Anyone know of one?

-allen

-- 
 Allen Briggs                     briggs@wasabisystems.com
 Wasabi Systems, Inc.             http://www.wasabisystems.com/