/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _UAPI_ASM_GENERIC_TERMIOS_H #define _UAPI_ASM_GENERIC_TERMIOS_H /* * Most architectures have straight copies of the x86 code, with * varying levels of bug fixes on top. Usually it's a good idea * to use this generic version instead, but be careful to avoid * ABI changes. * New architectures should not provide their own version. */ #include <asm/termbits.h> #include <asm/ioctls.h> struct winsize { … }; #define NCC … struct termio { … }; /* modem lines */ #define TIOCM_LE … #define TIOCM_DTR … #define TIOCM_RTS … #define TIOCM_ST … #define TIOCM_SR … #define TIOCM_CTS … #define TIOCM_CAR … #define TIOCM_RNG … #define TIOCM_DSR … #define TIOCM_CD … #define TIOCM_RI … #define TIOCM_OUT1 … #define TIOCM_OUT2 … #define TIOCM_LOOP … /* ioctl (fd, TIOCSERGETLSR, &result) where result may be as below */ #endif /* _UAPI_ASM_GENERIC_TERMIOS_H */