2009/5/16 Stefan Schmidt <[email protected]>:

> Yes. A clean separation between the hardware driver, speak ipc-usb, and the
> protocol, speak ts0710. I see three usage scenarios here:
>
> 1) Keep the ts0710 implementations we have with all the spec violations that
>   are needed to have the modem working. (That is the first step we should
>   reach)


> 2) Expose the ipc-usb interface as uart into userspace and allow userspace
>   muxers to use it. (That depends on the interest of people doing this of
>   course)

Its the easer way to do in kernel, but it will give us troubles in userspace.
Its not so hard to write userspace ts0710 relisation (openmoko variant
< 1k lines),
but it wil cause troubles for AT-applications and GPRS to use it.

Maby this wil be good :)

> 3) Have ipc-usb as hw driver for a yet-to-be-written kernel space muxer. 
> (Figure
>   out a way how to handle the spec violations against ts0710). From time to
>   time I hear people speaking up that a kernel space muxer is needed for 
> better
>   performance (latency, zero-copy,...). I would be happy to see an
>   implementation and benchmarks.
>
>  Don't get me wrong. I'm really in favour of having it inside the kernel, but
>  it is a) not a small task and b) the kernel devs have to agree with you. ;)
>
>> 2) if yes, how they should interact?
>
> How do they interact atm?

as one ugly crapcode with another: both ipc and mux uses
global vars (exported symbols) of each other.

> I really can't remember. The first thing that comes
> into my mind is to design the function in a way that they also can be used in
> the struct uart_ops.

dont understand here at all :)

>We could then have option 1 & 2 together in place. Some
> KConfig magic to have either the ipc-usb exposed as uart or the mux driver 
> using
> the exported functions directly inside the kernel.

>How does this sound?

like magic :)

>> 3) do we have any plans to support mux over uart?
>
> I would say no. If there will ever be a kernel muxer it should connect to all
> kind of hw driver, but we should focus on the hardware we have.

ok

> What do you mean here?

i`m about bp panic problem.


-- 
 wbr, Ilya
 ICQ: none, Jabber: [email protected]

Reply via email to