]> www.pilppa.org Git - linux-2.6-omap-h63xx.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)
commit1d65b4a088de407e99714fdc27862449db04fb5c
tree89f378767b9e0fe1a902d73bf43be382c6110f72
parent5aaa70a80f5bbfcc4d6a1f844bdd1c5d6b445b5f
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