On Tue, Jul 25, 2000 at 02:07:20PM -0700, David Schleef wrote:
> Why don't you just use a Linux-like void *dev_id?  Is it the
> migration difficulties in changing function prototypes, or is there
> some fundamental reason?  The lack of a callback handle really makes
> writing correct drivers a pain.

sigaction provides the irq# -- so if you want that information, use the 
sigaction interface. I'd rather make the RTLinux environment
look like Posix threads than like the interior of the Linux kernel.
The interior Linux kernel is much more complex, much less familiar, and
guaranteed to be not stable. I think it is a fundamental error to use
Linux internal operations as an API.

But I don't see the problem even with the rtl_request_irq interface.
After all, it is a one line function to provide the functionality 
you want. Am I missing something? Maybe you can give me an example.



-- 
---------------------------------------------------------
Victor Yodaiken 
FSMLabs:  www.fsmlabs.com  www.rtlinux.com
FSMLabs is a servicemark and a service of 
VJY Associates L.L.C, New Mexico.

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