PCI interrupts in Photon

Hey guys,
I’ve written a PCI card driver for a ADC board and it works in the QNX
prompt but in photon the interrupts are flaky at best. I wrote an ISA
driver using interrupts and it function perfectly within Photon. Is there
some subtle difference I’m missing when dealing with PCI interrupts in
Photon??

Brad

Previously, Brad Stocking wrote in qdn.public.qnx4.photon:

Hey guys,
I’ve written a PCI card driver for a ADC board and it works in the QNX
prompt but in photon the interrupts are flaky at best. I wrote an ISA
driver using interrupts and it function perfectly within Photon. Is there
some subtle difference I’m missing when dealing with PCI interrupts in
Photon??

One important difference is that you absolutely must reset the interrupt
from within the interrupt handler. Otherwise when you exit the handler,
the interrupt, being level sensitive, will immediately fire. This
will lock up your system. It doesn’t seem like you are having this
problem.

Describe the flakyness better. Do you miss some interrupts?



Mitchell Schoenbrun --------- maschoen@pobox.com

If the problem is excessive latency, you might want to check the PCI
latency timer for the video card. Other than that, could you describe
“flaky”, also, since flaky is “at best” what happens “at worst” ?

-----Original Message-----
From: Brad Stocking [mailto:bstocking@NXTenergy.com]
Posted At: Friday, March 23, 2001 2:14 PM
Posted To: photon
Conversation: PCI interrupts in Photon
Subject: PCI interrupts in Photon


Hey guys,
I’ve written a PCI card driver for a ADC board and it works in the
QNX
prompt but in photon the interrupts are flaky at best. I wrote an ISA
driver using interrupts and it function perfectly within Photon. Is
there
some subtle difference I’m missing when dealing with PCI interrupts in
Photon??

Brad