Hi,
Just a quick question: If a PCI device generates an interrupt is the interrupt number it generates is the one stored in the Interrupt line field? I am currently in real mode and have initialised the RTL8139 in my system and have set up both the ISR and IMR registers. However I am not recieving any interrupts. I just wanted to make sure that it wasn't me setting up the IVT for an interrupt that will never occur.
PCI interrupts
Re: PCI interrupts
Apart from setting the right IRQ on the device, the device may need enabling of interrupt mode (supporting polling-only mode otherwise) before it fires interrupts. Also, even if that is enabled, do you know for sure it is in the right condition for generating an interrupt? And do you get other interrupts (e.g. timer), since if not, the interrupt flag may be off.Jabus wrote:Just a quick question: If a PCI device generates an interrupt is the interrupt number it generates is the one stored in the Interrupt line field? I am currently in real mode and have initialised the RTL8139 in my system and have set up both the ISR and IMR registers. However I am not recieving any interrupts. I just wanted to make sure that it wasn't me setting up the IVT for an interrupt that will never occur.
JAL

