Re: what serial driver restructure is planned?

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Mon Feb 11 2002 - 17:01:15 EST


> Could we also have an interface to serial devices which bypass the tty
> layer? Ie a /dev/ttyraw* which just speaks to the serial port without
> going through the labyrinthine tty layers?

You've got one

> 9 times out of 10 when I reach for /dev/ttyS* that is all I want and
> the tty layer is just wasteful and gets in the way of a conceptually
> very simple device.

The only bits of the tty layer being used in raw data passing is the same
buffer management logic you would need anyway. In short - the perceived
waste is simply not there
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 15 2002 - 21:00:43 EST