IRQ_NONE or IRQ_HANDLED

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

 



Hi all,

For exercise purposes I have coded a device driver that shares an IRQ line 
with other devices.

In the code from the book I am reading (Cooperstein's), the interrupt handler 
returns IRQ_NONE. Close to that code there's the comment "We're just 
observing".

What I don't understand is why the author chose to return IRQ_NONE instead of 
IRQ_HANDLED. Must I return IRQ_NONE because my driver isn't effectively 
handling the device? May be in order to not prevent the real driver to handle 
the interrupts on the shared line?

Sorry for my poor English... Thanks in advance.

fabio

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at 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