Re: Multiple ISR on the same device.

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

 



On 4/30/07, Grob Team <grobteam@xxxxxxxxx> wrote:
Hi,

I wonder if its possible to have 2 ISR for the same device? For example, I want to test a driver for my HD but I dont want to unload the current driver who is handling I/O request to my hard drive. Is is possible? What will happen when my HD will send an interrupt? Is both ISR will be able to tell if it was one of their request or not?

Thank you


That is a bad idea. But, if you really want to do that, you can do that. Kernel anyway invokes all the handlers registered with that interrupt line one by one. The handlers have the responsibility to return quickly if the interrupt was not for them (by returning IRQ_NONE).

[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