Re: serial or tty driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux