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
drivers?
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.
--
Paul
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/