Re: two interrupt handlers

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

 



> i 'm reading linux device drivers book by A. Rubini, chapter 9 
> Interrupt Handling.  i would like write a experimental module to 
> handle keyboard interrupts. this handler will be shared. so my 
> simple question is:
> can i use two interrupt handlers for keyboard in kernel (one 
> original and one mine) ?
> 

Hi,

it is probably unlikly that you would be able todo this.

The support for multiple irq handlers is for sharing an irq between
2 devices.

When dealing with the same hardware the irq handle that runs first
should have already completed the task that the irq was raised for.

	James


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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