X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;ds=sidebyside;f=include%2Flinux%2Fconsole.h;h=721371382ae5ff1a55eace3ec867fc355b22c24a;hb=f7f1b0f1e2fbadeab12d24236000e778aa9b1ead;hp=99fd8e4be694adcdb52a8d4eb877058e61d8c3b4;hpb=e3f6fb6212a7102bdb56ba38fa1e98fe72950475;p=linux-2.6.git diff --git a/include/linux/console.h b/include/linux/console.h index 99fd8e4be..721371382 100644 --- a/include/linux/console.h +++ b/include/linux/console.h @@ -59,7 +59,6 @@ struct consw { extern const struct consw *conswitchp; extern const struct consw dummy_con; /* dummy console buffer */ -extern const struct consw fb_con; /* frame buffer based console */ extern const struct consw vga_con; /* VGA text console */ extern const struct consw newport_con; /* SGI Newport console */ extern const struct consw prom_con; /* SPARC PROM console */ @@ -77,13 +76,17 @@ void give_up_console(const struct consw *sw); #define CM_MOVE (3) /* - * The interface for a console, or any other device that - * wants to capture console messages (printer driver?) + * The interface for a console, or any other device that wants to capture + * console messages (printer driver?) + * + * If a console driver is marked CON_BOOT then it will be auto-unregistered + * when the first real console is registered. This is for early-printk drivers. */ #define CON_PRINTBUFFER (1) #define CON_CONSDEV (2) /* Last on the command line */ #define CON_ENABLED (4) +#define CON_BOOT (8) struct console {