Re: serial or tty driver

From: H. Peter Anvin
Date: Sat Feb 17 2007 - 14:30:34 EST

Mockern wrote:
I have a question, what is really difference between serial and tty drivers?
As I understand tty is high level and communicates with user space.

That's pretty much it, yes. When you're talking to a serial port, you have a stack that looks roughly like:

VFS layer
tty layer ----------------------\
serial core layer line discipline
serial driver

There are other devices which can exist below the tty layer, like the pty driver:

VFS layer
tty layer ----------------------\
pty driver line discipline

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at