On Thu, Sep 14, 2000 at 05:26:05PM +0900, Mukaila olundegun wrote:
> Hello,
> 
> I am converting Linux program to RTLinux but I have the following problem:
> 
> 1.    In RTLinux, rtl_request_irq() does not define DeviceName and DeviceId
> which are used in Linux. How do I define it in RTLinux.

The "device name" and "device id" only makes sense if you share interrupts, which
I don't recommend, but ...
Implementing these for your handler using rtl_request_irq is quite straightforward, 
however,
you might be better off using the new sigaction interface to interrupts since that 
does nice
things like return the previous interrupt handler which makes sharing even more simple.
That is, you can just set up your signal handler to call the old signal handler when 
it is
done.

Please ask more as we are working on making this interface more usable.



-- 
---------------------------------------------------------
Victor Yodaiken 
Finite State Machine Labs: The RTLinux Company.
 www.fsmlabs.com  www.rtlinux.com

-- [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