All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Fulghum <paulkf@microgate.com>
To: Mockern@yandex.ru
Cc: linux-kernel@vger.kernel.org
Subject: Re: serial and tty driver
Date: Sat, 17 Feb 2007 12:24:22 -0600	[thread overview]
Message-ID: <45D74856.6090900@microgate.com> (raw)
In-Reply-To: <45D73BF6.000001.30155@pantene.yandex.ru>

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

  reply	other threads:[~2007-02-17 18:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-17 17:31 serial and tty driver Mockern
2007-02-17 18:24 ` Paul Fulghum [this message]
2007-02-17 23:20   ` Theodore Tso
2007-02-18  8:52     ` Mockern
2007-02-18 13:03       ` Theodore Tso

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45D74856.6090900@microgate.com \
    --to=paulkf@microgate.com \
    --cc=Mockern@yandex.ru \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.