[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rtl] RT-Linux interrupts.



In message <A1C99F4731CAD111BA5400A024FC3B0CAD1689@ESBILMA01EDCGE> you wrote:
> Hi:
> 
> 	I am trying to write an rt-linux module to manage SCC1 as an 
> UART in a MPC860T. I want to catch the TX & RX interrupts that come 
> with this controller using functions such as:

This is not really trivial, since  the  SCC  interrupts  are  handled
internally in the CPM, and the CPM then interrupts the SIU. Last time
I  looked (in May, when we made our port of RTL for the 8xx available
to the public) RTL wouldn't allow to do what you want  without  major
reworking in the interrupt code.

I don't know about the current state, because of the license problems
we dropped all suport for RTL since then.

> In the future I want to implement the same for all the others
> controllers: SCCx, SMCx, I2C, SPI, FEC.

We have implemented a new, flat model of interrupt  handling  on  the
8xx under RTAI; please let me know if this is an option for you.

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
Anything free is worth what you pay for it.