Subject: Re: which irqflag to use with request_irq

From: Scott Wood <[email-masked]>
Date: Tue, 09 Dec 2008 12:23:35 -0600

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