cvs commit: src/sys/powerpc/psim
openpic_iobus.csrc/sys/powerpc/powermac
openpic_macio.c src/sys/powerpc/include openpicvar.h
src/sys/powerpc/powerpc openpic.c
Peter Grehan
grehan at FreeBSD.org
Tue Jan 13 03:24:38 PST 2004
grehan 2004/01/13 03:24:36 PST
FreeBSD src repository
Modified files:
sys/powerpc/include openpicvar.h
sys/powerpc/powerpc openpic.c
Added files:
sys/powerpc/psim openpic_iobus.c
sys/powerpc/powermac openpic_macio.c
Log:
Make the OpenPic driver bus-independent, with attachments for
the MacIO chip and PSIM's IOBus. Bus-specific drivers should
use the identify method to attach themselves to nexus so
interrupt can be allocated before the h/w is probed. The
'early attach' routine in openpic is used for this stage
of boot. When h/w is probed, the openpic can be attached
properly. It will enable interrupts allocated prior to
this.
Revision Changes Path
1.3 +29 -1 src/sys/powerpc/include/openpicvar.h
1.1 +231 -0 src/sys/powerpc/powermac/openpic_macio.c (new)
1.10 +76 -161 src/sys/powerpc/powerpc/openpic.c
1.1 +219 -0 src/sys/powerpc/psim/openpic_iobus.c (new)
More information about the cvs-src
mailing list