1*4882a593Smuzhiyun /* 2*4882a593Smuzhiyun * include/linux/serial.h 3*4882a593Smuzhiyun * 4*4882a593Smuzhiyun * Copyright (C) 1992 by Theodore Ts'o. 5*4882a593Smuzhiyun * 6*4882a593Smuzhiyun * Redistribution of this file is permitted under the terms of the GNU 7*4882a593Smuzhiyun * Public License (GPL) 8*4882a593Smuzhiyun */ 9*4882a593Smuzhiyun #ifndef _LINUX_SERIAL_H 10*4882a593Smuzhiyun #define _LINUX_SERIAL_H 11*4882a593Smuzhiyun 12*4882a593Smuzhiyun #include <asm/page.h> 13*4882a593Smuzhiyun #include <uapi/linux/serial.h> 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun 16*4882a593Smuzhiyun /* 17*4882a593Smuzhiyun * Counters of the input lines (CTS, DSR, RI, CD) interrupts 18*4882a593Smuzhiyun */ 19*4882a593Smuzhiyun 20*4882a593Smuzhiyun struct async_icount { 21*4882a593Smuzhiyun __u32 cts, dsr, rng, dcd, tx, rx; 22*4882a593Smuzhiyun __u32 frame, parity, overrun, brk; 23*4882a593Smuzhiyun __u32 buf_overrun; 24*4882a593Smuzhiyun }; 25*4882a593Smuzhiyun 26*4882a593Smuzhiyun /* 27*4882a593Smuzhiyun * The size of the serial xmit buffer is 1 page, or 4096 bytes 28*4882a593Smuzhiyun */ 29*4882a593Smuzhiyun #define SERIAL_XMIT_SIZE PAGE_SIZE 30*4882a593Smuzhiyun 31*4882a593Smuzhiyun #include <linux/compiler.h> 32*4882a593Smuzhiyun 33*4882a593Smuzhiyun #endif /* _LINUX_SERIAL_H */ 34