patch-2.1.8 linux/include/linux/tty_driver.h
Next file: linux/include/linux/tty_ldisc.h
Previous file: linux/include/linux/tty.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Thu Nov 7 19:51:20 1996
- Orig file:
v2.1.7/linux/include/linux/tty_driver.h
- Orig date:
Mon Sep 30 11:19:00 1996
diff -u --recursive --new-file v2.1.7/linux/include/linux/tty_driver.h linux/include/linux/tty_driver.h
@@ -91,7 +91,16 @@
*
* This routine notifies the tty driver that it should hangup the
* tty device.
+ *
+ * void (*wait_until_sent)(struct tty_struct *tty, int timeout);
*
+ * This routine waits until the device has written out all of the
+ * characters in its transmitter FIFO.
+ *
+ * void (*send_xchar)(struct tty_struct *tty, char ch);
+ *
+ * This routine is used to send a high-priority XON/XOFF
+ * character to the device.
*/
#include <linux/fs.h>
@@ -139,6 +148,8 @@
void (*hangup)(struct tty_struct *tty);
void (*flush_buffer)(struct tty_struct *tty);
void (*set_ldisc)(struct tty_struct *tty);
+ void (*wait_until_sent)(struct tty_struct *tty, int timeout);
+ void (*send_xchar)(struct tty_struct *tty, char ch);
/*
* linked list pointers
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov