]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blame - arch/s390/include/asm/termios.h
Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic...
[mirror_ubuntu-focal-kernel.git] / arch / s390 / include / asm / termios.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
1da177e4 2/*
1da177e4
LT
3 * S390 version
4 *
5 * Derived from "include/asm-i386/termios.h"
6 */
1da177e4
LT
7#ifndef _S390_TERMIOS_H
8#define _S390_TERMIOS_H
9
9807f759 10#include <uapi/asm/termios.h>
1da177e4 11
1da177e4
LT
12
13/* intr=^C quit=^\ erase=del kill=^U
14 eof=^D vtime=\0 vmin=\1 sxtc=\0
15 start=^Q stop=^S susp=^Z eol=\0
16 reprint=^R discard=^U werase=^W lnext=^V
17 eol2=\0
18*/
19#define INIT_C_CC "\003\034\177\025\004\0\1\0\021\023\032\0\022\017\027\026\0"
20
596f5601
HC
21#define user_termios_to_kernel_termios(k, u) copy_from_user(k, u, sizeof(struct termios2))
22#define kernel_termios_to_user_termios(u, k) copy_to_user(u, k, sizeof(struct termios2))
23
63b852a6 24#include <asm-generic/termios-base.h>
1da177e4 25
1da177e4 26#endif /* _S390_TERMIOS_H */