which irqflag to use with request_irq
Scott Wood
scottwood at freescale.com
Wed Dec 10 05:23:35 EST 2008
liran raz wrote:
> hi,
>
> When using the function:
> int request_irq (unsigned int irq,
> irq_handler_t handler,
> unsigned long irqflags,
> const char * devname,
> void * dev_id);
>
> To connect an ISR to one of the processor's
> peripherals irq (SCC in my case).
>
> Which value I should use for irqflags,
> from the list in: interrupt.h file.
Just pass zero (or IRQF_SHARED if the IRQ is shared, but it shouldn't be
in this case).
-Scott
More information about the Linuxppc-embedded
mailing list