activation of interrupt

Roman Kurakin rik at cronyx.ru
Tue Jun 15 08:23:12 GMT 2004


Hi,

    I have problem with activation/deactivation of interrupts.
I have a device driver for one ISA card. Since it is legacy ISA
it's interrupt line (or it's possible interrupt lines if we were loaded
with autodetection) could be assigned for PNP devices. The
simplest way to find out if we able to work with this interrupt line
to try to generate it and check if we see it (for example via
isa_irq_pending()).
    Now about my proble :-). At first load of my driver all is ok.
I able to work with interrupt. But at second one this interrupt is
detected as non-functional. If I ignore this test, it seems that all
work Ok. So problem only while I am at attach code. More over
system tells me about stray irq. So I guess that this interrupt was
blocked after it was unregistered.
    Since I don't have any more ideas what to do with this situation
I ask for help and open for any advices.

rik




More information about the freebsd-hackers mailing list