* which irqflag to use with request_irq
@ 2008-12-09 16:00 liran raz
2008-12-09 18:23 ` Scott Wood
0 siblings, 1 reply; 2+ messages in thread
From: liran raz @ 2008-12-09 16:00 UTC (permalink / raw)
To: linuxppc-embedded
[-- Attachment #1: Type: text/plain, Size: 400 bytes --]
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.
Kernel 2.6.24
Processor: MPC8272
Thanks,
Liran.
[-- Attachment #2: Type: text/html, Size: 655 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: which irqflag to use with request_irq
2008-12-09 16:00 which irqflag to use with request_irq liran raz
@ 2008-12-09 18:23 ` Scott Wood
0 siblings, 0 replies; 2+ messages in thread
From: Scott Wood @ 2008-12-09 18:23 UTC (permalink / raw)
To: liran raz; +Cc: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-12-09 18:24 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-09 16:00 which irqflag to use with request_irq liran raz
2008-12-09 18:23 ` Scott Wood
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.