[lkml]   [2002]   [Feb]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: what serial driver restructure is planned?
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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:24    [W:0.085 / U:4.328 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site