How can I generate and interrupt event and jump to interrupt service routine when any IRQ pins from ISA/PCI card is triggered? How can our program detect the IRQ line?
How can I generate and interrupt event and jump to interrupt service routine when any IRQ pins from ISA/PCI card is triggered? How can our program detect the IRQ line?
You can reference the sample code of chapter 10 of the "Linux device driver 3th" e-book.
You also can download the sample code from the O'Reilly website.