irq in Linux

bhupinder sahran bhup_sah at yahoo.com
Fri Jul 19 02:54:03 EST 2002


Hi guys,

U are right. U can have two or more than that irq in a
device driver. Let' say if u have

request_irq(irq no(17), handle1.....)
request_irq(irq no(18), handle2.....)
For os it does not matter from where u have
registered.
So whenever interrupt 17 will occur handle1 will be
executed...
in another case handle2......

So u can always do that...i guess so
bye
Bhupi

Deep into Silicon with linux...

www.gdatech.com
bhupi at gdatech.com
bhup_sah at yahoo.com




--- Khai Trinh <kqtrinh at yahoo.com> wrote:
>
> Hi folks,
>
> Can I register two devices irq numbers in a single
> device driver? If that's possible, then I can write
> a
> smart isr to figure out the interrupt is from which
> device and handle the irq accordingly.
>
> Any inputs would be appreciated...
>
> Thanks,
> --Khai
>
>
>


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





More information about the Linuxppc-embedded mailing list