Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Scott Reynolds <scottr@netbsd.org>
List: source-changes
Date: 08/11/1998 22:42:46
Module Name: src
Committed By: scottr
Date: Wed Aug 12 05:42:46 UTC 1998
Modified Files:
src/sys/arch/mac68k/conf: files.mac68k
src/sys/arch/mac68k/dev: adb_direct.c pm_direct.c zs.c
src/sys/arch/mac68k/mac68k: locore.s machdep.c psc.c
Log Message:
New framework for handling processor interrupts, derived in part from
the hp300 port.
- Interrupts 3-6 use this immediately. Interrupt 7 is a special case,
and the VIA interrupts (1 and 2) will be addressed when that code is
rototilled.
- Modify the zs front end to register with the appropriate interrupt
controller: through the PSC on the AV Quadras, and direct to
interrupt 4 on the rest. Arrange to have the appropriate zsc_softc
supplied to us at interrupt time.
- Modify the direct ADB driver (and its PowerManager cousin) to call
intr_dispatch(), rather than zshard(). XXX This is a kludge, but at
least limits the brokenness to the ADB drivers, now.
As a side effect, this should fix PR 5590. Thanks to Bill Studenmund for
correctly determining the cause of the problem reported there.