]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Add termiox
authorAlan Cox <alan@redhat.com>
Mon, 13 Oct 2008 09:38:18 +0000 (10:38 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 13 Oct 2008 16:51:40 +0000 (09:51 -0700)
commitfbacee6fafde7b2f898982447fc94713cb0da85f
tree89f378767b9e0fe1a902d73bf43be382c6110f72
parent4b14183d96a575963440258d0d66b2cabf602cdb
tty: Add termiox

We need a way to describe the various additional modes and flow control
features that random weird hardware shows up and software such as wine
wants to emulate as Windows supports them.

TCGETX/TCSETX and the termiox ioctl are a SYS5 extension that we might as
well adopt. This patches adds the structures and the basic ioctl interfaces
when the TCGETX etc defines are added for an architecture. Drivers wishing
to use this stuff need to add new methods.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_ioctl.c
include/asm-x86/ioctls.h
include/linux/termios.h
include/linux/tty.h
include/linux/tty_driver.h