Troy Davis wrote:
> Hello all-
> I am making an attempt at porting the driver for the Comtrol Rocket port 8
> port RS-422 card to real time linux. I really do not know where to begin
> though. Does anyone have any suggestions that could point me to other
> projects similar to this? Comtrol is not using a UART so rt_com is out.
> When does rtl_spinlock need to be used? Are there any general guidelines
> to porting a driver to rtlinux? And does anyone know if trying to get
> anything close to real time out of this type of card is worth the effort?
I have made a driver for a rs485 serial port, and it looks a lot like the rt_com
driver. That means it was not quit rs485 but a rs232 to rs485 converter. Anyway, I
think rt_com is a good skeleton.
One thing. Do NOT use any funktions from the linux kernel, that could suspend the the
task. A exapmle of this is taskqueues from linux. I think RTLinux have some
taskqueues implemented.
porting the driver directly from linux to RTLinux would be quit a job. (well, i do
not know the size if it)
----- End of forwarded message from [EMAIL PROTECTED] -----
-- [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/