Date: Tue, 13 Jan 2004 03:24:36 -0800 (PST) From: Peter Grehan <grehan@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: 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 Message-ID: <200401131124.i0DBOa7o093306@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401131124.i0DBOa7o093306>
