tty: Add diagnostic for halted line discipline
[firefly-linux-kernel-4.4.55.git] / include / linux / tty.h
index d3548f87196828e1c3fb63e3838848148905c20e..66ae020e8a980e2ba8ad0f9c6307e847920ba41c 100644 (file)
@@ -315,6 +315,7 @@ struct tty_file_private {
 #define TTY_NO_WRITE_SPLIT     17      /* Preserve write boundaries to driver */
 #define TTY_HUPPED             18      /* Post driver->hangup() */
 #define TTY_HUPPING            21      /* ->hangup() in progress */
+#define TTY_LDISC_HALTED       22      /* Line discipline is halted */
 
 #define TTY_WRITE_FLUSH(tty) tty_write_flush((tty))