Date: Tue, 15 Jun 2004 12:18:06 +0400 From: Roman Kurakin <rik@cronyx.ru> To: freebsd-hackers@freebsd.org Subject: activation of interrupt Message-ID: <40CEB0BE.5020604@cronyx.ru>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40CEB0BE.5020604>