Subject: CVS commit: [ppcoea-renovation] src/sys/arch/powerpc
To: None <source-changes@NetBSD.org>
From: Tim Rightnour <garbled@netbsd.org>
List: source-changes
Date: 05/03/2007 19:38:37
Module Name: src
Committed By: garbled
Date: Thu May 3 19:38:37 UTC 2007
Modified Files:
src/sys/arch/powerpc/include [ppcoea-renovation]: openpic.h
src/sys/arch/powerpc/pic [ppcoea-renovation]: files.pic intr.c
pic_openpic.c pic_prepivr.c picvar.h
Log Message:
Move the functions down from openpic.c into pic_openpic.c, as there
really is no need to have them over there when all the interrupt routines
will be using pic_openpic.c
Change the openpic setup to set all the irqs except 0 to negative polarity.
Set the spurious vector reg to 0xff.
Emit a nice printf showing the version of the openpic, and getrid of the
maxint thing.
Add a global, primary_pic, so machines can elect any registered pic as
the primary interrupt controller.
Clean up a few nits in pic_prepivr to make it more similar to the openpic
one, add a prototype for the setup_prepivr function, etc etc.
To generate a diff of this commit:
cvs rdiff -r1.5 -r1.5.32.1 src/sys/arch/powerpc/include/openpic.h
cvs rdiff -r1.1.2.4 -r1.1.2.5 src/sys/arch/powerpc/pic/files.pic
cvs rdiff -r1.1.2.8 -r1.1.2.9 src/sys/arch/powerpc/pic/intr.c
cvs rdiff -r1.1.2.5 -r1.1.2.6 src/sys/arch/powerpc/pic/pic_openpic.c
cvs rdiff -r1.1.2.2 -r1.1.2.3 src/sys/arch/powerpc/pic/pic_prepivr.c
cvs rdiff -r1.1.2.6 -r1.1.2.7 src/sys/arch/powerpc/pic/picvar.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.