/* Brian Rogers */
diff -ur linux-2.0.33/arch/i386/config.in
linux-2.0.33-patched/arch/i386/config.in
--- linux-2.0.33/arch/i386/config.in Sun May 12 23:17:23 1996 +++ linux-2.0.33-patched/arch/i386/config.in Fri Feb 6 00:43:49 1998 @@ -43,6 +43,7 @@ 486 CONFIG_M486 \ Pentium CONFIG_M586 \ PPro CONFIG_M686" Pentium +bool 'Echo console messages on /dev/ttyS0 (COM1)' CONFIG_SERIAL_ECHO endmenu source drivers/block/Config.in diff -ur linux-2.0.33/drivers/char/console.c linux-2.0.33-patched/drivers/char/console.c--- linux-2.0.33/drivers/char/console.c Mon Nov 3 18:56:30 1997 +++ linux-2.0.33-patched/drivers/char/console.c Sun Feb 8 15:38:48 1998 @@ -1866,6 +1866,10 @@ unsigned char c; static int printing = 0; +#ifdef CONFIG_SERIAL_ECHO + serial_echo_print(b); +#endif /* CONFIG_SERIAL_ECHO */ + if (!printable || printing) return; /* console not yet initialized */ printing = 1; @@ -1879,10 +1883,6 @@return; } -#ifdef CONFIG_SERIAL_ECHO - serial_echo_print(b); -#endif /* CONFIG_SERIAL_ECHO */ - while ((c = *(b++)) != 0) { if (c == 10 || c == 13 || need_wrap) { if (c != 13) @@ -2077,6 +2077,10 @@ set_origin(currcons); csi_J(currcons, 0);
+#ifdef CONFIG_SERIAL_ECHO + serial_echo_init(SERIAL_ECHO_PORT); +#endif /* CONFIG_SERIAL_ECHO */ + /* Figure out the size of the screen and screen font so we can figure out the appropriate screen size should we load a different font */ @@ -2088,10 +2092,6 @@ default_font_height = video_font_height = ORIG_VIDEO_POINTS; /* This may be suboptimal but is a safe bet - go with it */ video_scan_lines = video_font_height * video_num_lines; - -#ifdef CONFIG_SERIAL_ECHO - serial_echo_init(SERIAL_ECHO_PORT); -#endif /* CONFIG_SERIAL_ECHO */
printk("Console: %ld point font, %ld scans\n", video_font_height, video_scan_lines);
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu