Subject: Sharing of interrupts on arm32?
To: None <port-arm32@netbsd.org>
From: Bruce Martin <brucem@cat.co.za>
List: port-arm32
Date: 01/14/2000 15:08:44
Hi all,

I have two devices that share IRQ 12 on my NetBSD/arm32 system. One is a
serial device (faster XBus access), and one is an input listener (slow i2c
access). Because of this, I want to first check if it is a serial device,
and only if it isn't, pass it on to the input listener. I though the return
values for interrupt routines were:
 -1: pass it on
 0: pass it on
 1: don't pass it on.

However, my serial device is returning 1, and still the input listener is
getting into the ISR. How do I make sure that the serial device doesn't pass
the interrupt on if it services it?

Thanks
Bruce.