Re: serial and tty driver

From: Paul Fulghum
Date: Sat Feb 17 2007 - 13:24:42 EST

Mockern wrote:
I have a question, what is really difference between serial and tty

As I understand tty is high level and communicates with user space.

The serial core implements many of the details of a tty
driver in a common place so that individual hardware drivers
(serial drivers) only need implement the hardware specific code.

This prevents duplicating tty logic in many drivers,
with the possibility of mistakes/inconsistency in the
different tty drivers.

The stand alone tty drivers are mostly legacy code from
the time before serial core that have not been ported
to be a serial drivers.

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