stdio_console.c (9218b1714949095bff9d9739d80f431d58e561d6) | stdio_console.c (57ac895a7f22d235f637317f58a2d9ba6ec91a27) |
---|---|
1/* 2 * Copyright (C) 2000, 2001 Jeff Dike (jdike@karaya.com) 3 * Licensed under the GPL 4 */ 5 6#include "linux/posix_types.h" 7#include "linux/tty.h" 8#include "linux/tty_flip.h" --- 152 unchanged lines hidden (view full) --- 161 char *new_title; 162 163 console_driver = register_lines(&driver, &console_ops, vts, 164 ARRAY_SIZE(vts)); 165 if (console_driver == NULL) 166 return -1; 167 printk(KERN_INFO "Initialized stdio console driver\n"); 168 | 1/* 2 * Copyright (C) 2000, 2001 Jeff Dike (jdike@karaya.com) 3 * Licensed under the GPL 4 */ 5 6#include "linux/posix_types.h" 7#include "linux/tty.h" 8#include "linux/tty_flip.h" --- 152 unchanged lines hidden (view full) --- 161 char *new_title; 162 163 console_driver = register_lines(&driver, &console_ops, vts, 164 ARRAY_SIZE(vts)); 165 if (console_driver == NULL) 166 return -1; 167 printk(KERN_INFO "Initialized stdio console driver\n"); 168 |
169 lines_init(vts, ARRAY_SIZE(vts), &opts); 170 | |
171 new_title = add_xterm_umid(opts.xterm_title); 172 if(new_title != NULL) 173 opts.xterm_title = new_title; 174 | 169 new_title = add_xterm_umid(opts.xterm_title); 170 if(new_title != NULL) 171 opts.xterm_title = new_title; 172 |
173 lines_init(vts, ARRAY_SIZE(vts), &opts); 174 |
|
175 con_init_done = 1; 176 register_console(&stdiocons); 177 return 0; 178} 179late_initcall(stdio_init); 180 181static void console_exit(void) 182{ --- 20 unchanged lines hidden --- | 175 con_init_done = 1; 176 register_console(&stdiocons); 177 return 0; 178} 179late_initcall(stdio_init); 180 181static void console_exit(void) 182{ --- 20 unchanged lines hidden --- |