All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Mockern@yandex.ru
Cc: linux-kernel@vger.kernel.org
Subject: Re: serial or tty driver
Date: Sat, 17 Feb 2007 11:29:49 -0800	[thread overview]
Message-ID: <45D757AD.30208@zytor.com> (raw)
In-Reply-To: <45D7255D.000003.24001@webmail18.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. 

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

	(Userspace)
	VFS layer
	tty layer ----------------------\
	serial core layer                line discipline
	serial driver
	(Hardware)

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

	(Userspace)
	VFS layer
	tty layer ----------------------\
	pty driver                       line discipline

	-hpa

      reply	other threads:[~2007-02-17 19:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-17 15:55 serial or tty driver Mockern
2007-02-17 19:29 ` H. Peter Anvin [this message]

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=45D757AD.30208@zytor.com \
    --to=hpa@zytor.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.