summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-10 12:28:59 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-09-10 12:28:59 +0000
commitb7e3949f67128493b2443524bd8fa956912da677 (patch)
tree9df52449211753bd08702f95a8ff99ef20ccb7c9
parentPatch from Eric Norum <eric@skatter.usask.ca> to fix a cryptic error (diff)
downloadrtems-b7e3949f67128493b2443524bd8fa956912da677.tar.bz2
Patch from Eric Valette <valette@crf.canon.fr>. 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.
-rw-r--r--c/src/lib/libbsp/i386/pc386/console/console.c9
1 files changed, 8 insertions, 1 deletions
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;