From b7e3949f67128493b2443524bd8fa956912da677 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 10 Sep 1998 12:28:59 +0000 Subject: Patch from Eric Valette . Most of this was included in a previous patch. Comments from Eric: patch_com2 was before your own fixes of raw IDT vector management routine. It mainly use human readable constants for the serial line driver code + the patch you gave me for com2 write routine. I applied your patch for raw IDT mngt on top of that. Then made minor cleaning in patch_idt_mngt. I hope this helps. --- c/src/lib/libbsp/i386/pc386/console/console.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/c/src/lib/libbsp/i386/pc386/console/console.c b/c/src/lib/libbsp/i386/pc386/console/console.c index b0426b5fe8..74fc2e3957 100644 --- a/c/src/lib/libbsp/i386/pc386/console/console.c +++ b/c/src/lib/libbsp/i386/pc386/console/console.c @@ -49,7 +49,14 @@ * PC386_UART_COM2 */ -int PC386ConsolePort = PC386_CONSOLE_PORT_CONSOLE; +/* + * Possible value for console input/output : + * PC386_CONSOLE_PORT_CONSOLE + * PC386_UART_COM1 + * PC386_UART_COM2 + */ + +int PC386ConsolePort = PC386_UART_COM2; static int conSetAttr(int minor, const struct termios *); extern BSP_polling_getchar_function_type BSP_poll_char; -- cgit v1.2.3