Re: what serial driver restructure is planned?

From: Nick Craig-Wood (ncw@axis.demon.co.uk)
Date: Mon Feb 11 2002 - 11:30:59 EST


On Thu, Feb 07, 2002 at 10:21:44AM +0000, Russell King - ARM Linux wrote:
> It basically started out by pulling 65K worth of the duplicated code out
> of various serial drivers. Its currently moving towards allowing the
> input layer to talk to serial devices (needed for things like iPAQ
> keyboards and IrDA-based keyboards), as well as allowing things like
> USB serial devices to use the core code.

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?

This would need to keep some basic ioctls for changing baud rate etc.

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.

> Some people would also like to see a "serial major" where all serial
> devices live.

Gets my vote.

-- 
Nick Craig-Wood
ncw@axis.demon.co.uk
-
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:42 EST