diff options
Diffstat (limited to 'include/linux/console_struct.h')
| -rw-r--r-- | include/linux/console_struct.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/console_struct.h b/include/linux/console_struct.h index 38fe59dc89ae..7f0c32908568 100644 --- a/include/linux/console_struct.h +++ b/include/linux/console_struct.h | |||
| @@ -21,6 +21,8 @@ struct vt_struct; | |||
| 21 | #define NPAR 16 | 21 | #define NPAR 16 |
| 22 | 22 | ||
| 23 | struct vc_data { | 23 | struct vc_data { |
| 24 | struct tty_port port; /* Upper level data */ | ||
| 25 | |||
| 24 | unsigned short vc_num; /* Console number */ | 26 | unsigned short vc_num; /* Console number */ |
| 25 | unsigned int vc_cols; /* [#] Console size */ | 27 | unsigned int vc_cols; /* [#] Console size */ |
| 26 | unsigned int vc_rows; | 28 | unsigned int vc_rows; |
| @@ -56,7 +58,6 @@ struct vc_data { | |||
| 56 | /* VT terminal data */ | 58 | /* VT terminal data */ |
| 57 | unsigned int vc_state; /* Escape sequence parser state */ | 59 | unsigned int vc_state; /* Escape sequence parser state */ |
| 58 | unsigned int vc_npar,vc_par[NPAR]; /* Parameters of current escape sequence */ | 60 | unsigned int vc_npar,vc_par[NPAR]; /* Parameters of current escape sequence */ |
| 59 | struct tty_struct *vc_tty; /* TTY we are attached to */ | ||
| 60 | /* data for manual vt switching */ | 61 | /* data for manual vt switching */ |
| 61 | struct vt_mode vt_mode; | 62 | struct vt_mode vt_mode; |
| 62 | struct pid *vt_pid; | 63 | struct pid *vt_pid; |
| @@ -105,6 +106,7 @@ struct vc_data { | |||
| 105 | struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */ | 106 | struct vc_data **vc_display_fg; /* [!] Ptr to var holding fg console for this display */ |
| 106 | unsigned long vc_uni_pagedir; | 107 | unsigned long vc_uni_pagedir; |
| 107 | unsigned long *vc_uni_pagedir_loc; /* [!] Location of uni_pagedir variable for this console */ | 108 | unsigned long *vc_uni_pagedir_loc; /* [!] Location of uni_pagedir variable for this console */ |
| 109 | bool vc_panic_force_write; /* when oops/panic this VC can accept forced output/blanking */ | ||
| 108 | /* additional information is in vt_kern.h */ | 110 | /* additional information is in vt_kern.h */ |
| 109 | }; | 111 | }; |
| 110 | 112 | ||
