Subject: CVS commit: src/sys/arch/mips/alchemy
To: None <>
From: Garrett D'Amore <>
List: source-changes
Date: 02/10/2006 00:22:42
Module Name:	src
Committed By:	gdamore
Date:		Fri Feb 10 00:22:42 UTC 2006

Modified Files:
	src/sys/arch/mips/alchemy: au_icu.c
	src/sys/arch/mips/alchemy/include: auvar.h

Log Message:
Add au_intr_enable() and au_intr_disable() API to allow for split interrupts
(e.g. PCMCIA leaves GPIO interrupt masked and reenables them soft interrupt.)
Add checks for masked interrupts before calling the handler.
When removing last interrupt handler, mask off interrupts completely using
MASK_CLEAR and WAKEUP_CLEAR.  Tested on dbau1500.

To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/arch/mips/alchemy/au_icu.c
cvs rdiff -r1.5 -r1.6 src/sys/arch/mips/alchemy/include/auvar.h

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