using cpm interrupts on 8xx

Dan Malek dan at embeddededge.com
Thu May 23 13:20:57 EST 2002


Nate Pletcher wrote:


> ...  Do I need to register a handler for the SIU
> interrupt for the CPM and then another handler for the individual IDMA
> interrupt from the CPM?

All you need to do is use cpm_install_handler() for the IDMA interrupt.

> The interrupt hardware on the 8xx is multilevel (CPM interrupts
> multiplexed into SIU) so it seems that both functions would be
> necessary.

The cpm initialization installs the SIU interrupt handler, so don't
worry about that one.

> ....  What do I need to do myself and what is
> provided by the request_/free_irq interface?

For your IDMA device all you need to do is cpm_install_handler()/cpm_free_handler().


	-- Dan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list