is there any more to having a single interrupt drive multiple handlers than IRQF_SHARED?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  colleague just asked how he can use a single interrupt line to
trigger more than one interrupt handler, and i just said, "well,
IRQF_SHARED."

  i'm not sure if there's any more to this problem, but am i off-base
in suggesting that that is pretty much what IRQF_SHARED is designed
for?

  now, i do realize that it can be used along with a unique dev_id
values to isolate a *particular* handler amongst a group of handlers,
but if one simply wants to trigger *all* handlers registered for that
interrupt, is there anything about that that's tricky?

  it seems pretty straightforward, but i'm going back to review my
interrupt handlers this evening.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux