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

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