irq in Linux
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/
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
[email protected]
[email protected]
Quoted 9 lines · --- Khai Trinh
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.
Quoted 7 lines
Any inputs would be appreciated...
Thanks,
--Khai
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/