android_kernel_xiaomi_sm8450/include/uapi/linux/termios.h
Greg Kroah-Hartman 8a365a2340 Revert "tty: drop termiox user definitions"
This reverts commit d24347e2ff which is
commit c762a2b846b619c0f92f23e2e8e16f70d20df800 upstream.

It does nothing but mess with the CRC values of a number of structures.
This is why people hate the kernel's crc "detection" logic as sometimes
it does very odd things.

So revert it, to preserve the KABI reporting, no functional change at
all.

Fixes: c8de3a470a ("Merge 5.10.64 into android12-5.10-lts")
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I4611b93aa3c192b82b2c2283ef6a33b19fac0e64
2021-09-12 11:00:56 +02:00

24 lines
506 B
C

/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
#ifndef _LINUX_TERMIOS_H
#define _LINUX_TERMIOS_H
#include <linux/types.h>
#include <asm/termios.h>
#define NFF 5
struct termiox
{
__u16 x_hflag;
__u16 x_cflag;
__u16 x_rflag[NFF];
__u16 x_sflag;
};
#define RTSXOFF 0x0001 /* RTS flow control on input */
#define CTSXON 0x0002 /* CTS flow control on output */
#define DTRXOFF 0x0004 /* DTR flow control on input */
#define DSRXON 0x0008 /* DCD flow control on output */
#endif