linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* irq in Linux
@ 2002-07-17 21:34 Khai Trinh
  2002-07-18 16:54 ` bhupinder sahran
  0 siblings, 1 reply; 2+ messages in thread
From: Khai Trinh @ 2002-07-17 21:34 UTC (permalink / raw)
  To: linuxppc-embedded


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

Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: irq in Linux
  2002-07-17 21:34 irq in Linux Khai Trinh
@ 2002-07-18 16:54 ` bhupinder sahran
  0 siblings, 0 replies; 2+ messages in thread
From: bhupinder sahran @ 2002-07-18 16:54 UTC (permalink / raw)
  To: Khai Trinh, linuxppc-embedded


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@gdatech.com
bhup_sah@yahoo.com




--- Khai Trinh <kqtrinh@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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-07-18 16:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-17 21:34 irq in Linux Khai Trinh
2002-07-18 16:54 ` bhupinder sahran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).