82xx IRQ handling
Dan Malek
dan at embeddededge.com
Mon Dec 12 16:01:26 EST 2005
On Dec 11, 2005, at 9:42 PM, Dmytro Bablinyuk wrote:
> immap->im_intctl.ic_simrh &= ~(0x0800);
You should not be messing around with this register
in your code. The generic 82xx interrupt functions
will properly manage this for you.
> request_irq(IRQ,
> &irq_handler, /* our handler */
> irq_flags,
> "interrupt_test",
> NULL);
This is all you should do.
Thanks.
-- Dan
More information about the Linuxppc-embedded
mailing list