Subject: CVS commit: syssrc/sys/arch/powerpc/mpc6xx
To: None <source-changes@netbsd.org>
From: Chuck Silvers <chs@netbsd.org>
List: source-changes
Date: 08/06/2002 09:20:10
Module Name:	syssrc
Committed By:	chs
Date:		Tue Aug  6 06:20:10 UTC 2002

Modified Files:
	syssrc/sys/arch/powerpc/mpc6xx: cpu_subr.c

Log Message:
on MP systems, if the firmware didn't configure the L2 cache
on the non-boot CPUs, copy the L2CR configuration from the boot CPU.
also, fix the code that configures the L2 cache so that it works at all.
while I'm here, use mfspr() and mtspr() instead of inline asms.


To generate a diff of this commit:
cvs rdiff -r1.25 -r1.26 syssrc/sys/arch/powerpc/mpc6xx/cpu_subr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.