Following a mild suggestion, I looked at it with rested eyes and indeed found
the problem elsewhere - it works great now.

On Mon, 03 Apr 2000, Willem Atsma wrote:
> I am writing a device driver. I moved the interrupt allocation and release
> calls to the open and release functions, but for some reason the free_irq call
> fails. 
> 
> (I am writing the driver to be compatible with both RTL and plain linux, and
> for now I am trying to get it to work for normal operation, but the kernel is
> the RTL version: 2.2.14-rtl2.2.)
> 
> Why is it that the kernel does not free the interrupt in the release method?
> Does this _have_ to be done in the cleanup_module() function? In the current
> implementation no error messages are generated, but the /proc/interrupt shows
> that it is still occupied after closing the device. The free_irq() is called
> correctly.
> 
> thanks,
> 
> Willem
> -- 
> 
> ______________________________
> Willem J Atsma
> [EMAIL PROTECTED]
> http://www.mech.ubc.ca/~watsma
> ______________________________
> 
> -- [rtl] ---
> To unsubscribe:
> echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
> echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
> ---
> For more information on Real-Time Linux see:
> http://www.rtlinux.org/rtlinux/
-- 

______________________________
Willem J Atsma
[EMAIL PROTECTED]
http://www.mech.ubc.ca/~watsma
______________________________

-- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
---
For more information on Real-Time Linux see:
http://www.rtlinux.org/rtlinux/

Reply via email to