I followed your advice : I used the UART layer.
It is easier.
Thanks
Benjamin Herrenschmidt a écrit :
On Tue, 2008-09-02 at 09:34 +0200, Sébastien Chrétien wrote:
quoted
ok is it a bad way to write a tty driver ? why ?
Not necessarily, it's just overkill. The UART layer handles a lot
of stuff for you. The tty layer is tricky to get right.
Cheers,
Ben.