2005-04-17 06:20:36 +08:00
|
|
|
/*
|
|
|
|
* S390 version
|
|
|
|
*
|
|
|
|
* Derived from "include/asm-i386/termios.h"
|
|
|
|
*/
|
|
|
|
#ifndef _S390_TERMIOS_H
|
|
|
|
#define _S390_TERMIOS_H
|
|
|
|
|
2012-10-09 16:47:31 +08:00
|
|
|
#include <uapi/asm/termios.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
|
|
|
|
/* intr=^C quit=^\ erase=del kill=^U
|
|
|
|
eof=^D vtime=\0 vmin=\1 sxtc=\0
|
|
|
|
start=^Q stop=^S susp=^Z eol=\0
|
|
|
|
reprint=^R discard=^U werase=^W lnext=^V
|
|
|
|
eol2=\0
|
|
|
|
*/
|
|
|
|
#define INIT_C_CC "\003\034\177\025\004\0\1\0\021\023\032\0\022\017\027\026\0"
|
|
|
|
|
2008-02-08 20:18:40 +08:00
|
|
|
#define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2))
|
|
|
|
#define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2))
|
|
|
|
|
2009-05-14 06:56:24 +08:00
|
|
|
#include <asm-generic/termios-base.h>
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#endif /* _S390_TERMIOS_H */
|