patch-2.3.25 linux/include/linux/serial.h

Next file: linux/include/linux/serialP.h
Previous file: linux/include/linux/sem.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.24/linux/include/linux/serial.h linux/include/linux/serial.h
@@ -37,6 +37,20 @@
 #define ASYNC_CLOSING_WAIT_NONE	65535
 
 /*
+ * The size of the serial xmit buffer is 1 page, or 4096 bytes
+ */
+#define SERIAL_XMIT_SIZE 4096
+
+/*
+ * Counters of the input lines (CTS, DSR, RI, CD) interrupts
+ */
+struct async_icount {
+	__u32	cts, dsr, rng, dcd, tx, rx;
+	__u32	frame, parity, overrun, brk;
+	__u32	buf_overrun;
+};
+
+/*
  * These are the supported serial types.
  */
 #define PORT_UNKNOWN	0

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)