ok. I will try the serial layer

2008/9/2, Benjamin Herrenschmidt <benh@kernel.crashing.org>:
On Tue, 2008-09-02 at 09:34 +0200, Sébastien Chrétien wrote:
> 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.