Subject: CVS commit: src/sys/arch/cobalt
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 05/31/2006 12:59:40
Module Name: src
Committed By: tsutsui
Date: Wed May 31 12:59:40 UTC 2006
Modified Files:
src/sys/arch/cobalt/cobalt: autoconf.c machdep.c
src/sys/arch/cobalt/include: intr.h
src/sys/arch/cobalt/pci: pcib.c
Log Message:
Cleanup ICU (i8259 compatible PIC) interrupt handling code:
- move ICU interrupt stuff from pci/pcib.h to cobalt/machdep.c
because ICU should be initialized before pcib is attached
- initialize ICU more properly
- check interrupt types and set ELCR (edge/level control registers)
accordingly in icu_intr_establish()
- check requested IRQ line and call only a necessary hander in icu_intr()
- use specific EOI to ack interrupts rather than AEOI
- use macro defined in <dev/ic/i8259reg.h>
To generate a diff of this commit:
cvs rdiff -r1.19 -r1.20 src/sys/arch/cobalt/cobalt/autoconf.c
cvs rdiff -r1.66 -r1.67 src/sys/arch/cobalt/cobalt/machdep.c
cvs rdiff -r1.20 -r1.21 src/sys/arch/cobalt/include/intr.h
cvs rdiff -r1.17 -r1.18 src/sys/arch/cobalt/pci/pcib.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.