Subject: Re: 604e vs. 604ev (was Re: results of the IRC debug patch)
To: None <port-macppc@netbsd.org>
From: Brian Hechinger <wonko@4amlunch.net>
List: port-macppc
Date: 12/06/2004 08:03:45
On Mon, Dec 06, 2004 at 07:53:28AM -0500, Michael wrote:
> 
> Figure out the cache's size and clock ratio, then add something like this to your kernel config ( and config, make depend, make... )
> options         L2CR_CONFIG="(L2SIZ_1M|L2CLK_20|L2RAM_PIPELINE_BURST)"
> This is what I did for my 300MHz G3 with 1MB cache at 150MHz, so clock ratio is 2, there are other macros for different sizes...

> #define    L2SIZ_1M               0x30000000

ok, mine has 1M

> #define    L2CLK_20               0x08000000 /*            / 2   */

and runs the L2 cache at 200Mhz

> ... and types...
> #define    L2RAM_FLOWTHRU_BURST   0x00000000
> #define    L2RAM_PIPELINE_BURST   0x01000000
> #define    L2RAM_PIPELINE_LATE    0x01800000

where do i find data on which of these my cache does?  so far, i haven't
found anything.

-brian
-- 
"Now you know why I got the everliving hell OUT of Windows administration.
Knowing it doesn't make it any easier.  It's just broken-as-designed."