On lug 04 8:02, Iain Hibbert wrote: > see pci_intr(9) and look at what a device in dev/pci does. I don't know > which is 'simple' but sv.c seems pretty simple in what it does with > interrupts the sv_intr() function is pretty small. You set up the > interrupt, enable it and your function gets called (in interrupt context).
It was exactly what I was meaning: few lines, easy to read for someone who has never seen an interrupt handling implementation. Thank you, also for pci_intr(9)! Rocky