|
@@ -92,9 +92,8 @@ void give_up_console(const struct consw *sw);
|
|
#define CON_BOOT (8)
|
|
#define CON_BOOT (8)
|
|
#define CON_ANYTIME (16) /* Safe to call when cpu is offline */
|
|
#define CON_ANYTIME (16) /* Safe to call when cpu is offline */
|
|
|
|
|
|
-struct console
|
|
|
|
-{
|
|
|
|
- char name[8];
|
|
|
|
|
|
+struct console {
|
|
|
|
+ char name[16];
|
|
void (*write)(struct console *, const char *, unsigned);
|
|
void (*write)(struct console *, const char *, unsigned);
|
|
int (*read)(struct console *, char *, unsigned);
|
|
int (*read)(struct console *, char *, unsigned);
|
|
struct tty_driver *(*device)(struct console *, int *);
|
|
struct tty_driver *(*device)(struct console *, int *);
|