patch-2.1.28 linux/include/linux/serial.h
Next file: linux/include/linux/soundcard.h
Previous file: linux/include/linux/proc_fs.h
Back to the patch index
Back to the overall index
- Lines: 38
- Date:
Fri Feb 28 15:40:33 1997
- Orig file:
v2.1.27/linux/include/linux/serial.h
- Orig date:
Thu Feb 6 02:53:43 1997
diff -u --recursive --new-file v2.1.27/linux/include/linux/serial.h linux/include/linux/serial.h
@@ -123,7 +123,10 @@
*/
struct serial_icounter_struct {
int cts, dsr, rng, dcd;
- int reserved[16];
+ int rx, tx;
+ int frame, overrun, parity, brk;
+ int buf_overrun;
+ int reserved[9];
};
@@ -144,7 +147,9 @@
* Counters of the input lines (CTS, DSR, RI, CD) interrupts
*/
struct async_icount {
- __u32 cts, dsr, rng, dcd;
+ __u32 cts, dsr, rng, dcd, tx, rx;
+ __u32 frame, parity, overrun, brk;
+ __u32 buf_overrun;
};
struct serial_state {
@@ -178,6 +183,7 @@
int read_status_mask;
int ignore_status_mask;
int timeout;
+ int quot;
int x_char; /* xon/xoff character */
int close_delay;
unsigned short closing_wait;
@@ -235,5 +241,6 @@
/* Export to allow PCMCIA to use this - Dave Hinds */
extern int register_serial(struct serial_struct *req);
extern void unregister_serial(int line);
+
#endif /* __KERNEL__ */
#endif /* _LINUX_SERIAL_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov