]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - include/linux/console_struct.h
tty: Make vt's have a tty_port
[karo-tx-linux.git] / include / linux / console_struct.h
index 38fe59dc89aefaa97871270371f28ff74bf8ca3f..25bf67f541fc107d5082d8ed347cb01ec53a18db 100644 (file)
@@ -21,6 +21,8 @@ struct vt_struct;
 #define NPAR 16
 
 struct vc_data {
+       struct tty_port port;                   /* Upper level data */
+
        unsigned short  vc_num;                 /* Console number */
        unsigned int    vc_cols;                /* [#] Console size */
        unsigned int    vc_rows;
@@ -105,6 +107,7 @@ struct vc_data {
        struct vc_data **vc_display_fg;         /* [!] Ptr to var holding fg console for this display */
        unsigned long   vc_uni_pagedir;
        unsigned long   *vc_uni_pagedir_loc;  /* [!] Location of uni_pagedir variable for this console */
+       bool vc_panic_force_write; /* when oops/panic this VC can accept forced output/blanking */
        /* additional information is in vt_kern.h */
 };