Subject: CVS commit: [chris-arm-intr-rework] src/sys/arch/arm
To: None <source-changes@NetBSD.org>
From: Chris Gilbert <chris@netbsd.org>
List: source-changes
Date: 08/18/2007 12:12:14
Module Name:	src
Committed By:	chris
Date:		Sat Aug 18 12:12:14 UTC 2007

Modified Files:
	src/sys/arch/arm/arm [chris-arm-intr-rework]: arm_irqhandler.c
	    soft_irqhandler.c
	src/sys/arch/arm/footbridge [chris-arm-intr-rework]: footbridge_intr.h
	    footbridge_irqhandler.c footbridge_irqhandler.h
	src/sys/arch/arm/footbridge/isa [chris-arm-intr-rework]: isa_machdep.c
	src/sys/arch/arm/include [chris-arm-intr-rework]: arm_intr.h

Log Message:
Rework registration call, so that it no longer takes a status paramater.

Rework dispatch routines, so no implicit ordering is required in the irq
groups.  This removes the primary flag, and also makes hardware dependant
dispatch routines again.

Update arm_intr_queue_irqs to disable interrupts.  This is necessary when
child buses are present, eg isa bus, as the isa interrupt handler is
called with interrupts enabled, and I believe that the footbridge handler
was trampling on the isa handler setting up pending flags.

cats can now install using the update irq code (previously it would
randomly hang)


To generate a diff of this commit:
cvs rdiff -r1.1.2.2 -r1.1.2.3 src/sys/arch/arm/arm/arm_irqhandler.c \
    src/sys/arch/arm/arm/soft_irqhandler.c
cvs rdiff -r1.10.20.2 -r1.10.20.3 \
    src/sys/arch/arm/footbridge/footbridge_intr.h
cvs rdiff -r1.17.24.2 -r1.17.24.3 \
    src/sys/arch/arm/footbridge/footbridge_irqhandler.c
cvs rdiff -r1.5 -r1.5.50.1 \
    src/sys/arch/arm/footbridge/footbridge_irqhandler.h
cvs rdiff -r1.6.50.1 -r1.6.50.2 src/sys/arch/arm/footbridge/isa/isa_machdep.c
cvs rdiff -r1.1.2.2 -r1.1.2.3 src/sys/arch/arm/include/arm_intr.h

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