summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-30 15:58:37 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-05-30 15:58:37 +0000
commit95a683b57b49d2428062d7aaace68bbbc0c42b0b (patch)
tree309c1839a714a9bb35db022bd0b7cb9d7dc734a0 /c/src/lib/libbsp
parentMade Debug defination a null routine. (diff)
downloadrtems-95a683b57b49d2428062d7aaace68bbbc0c42b0b.tar.bz2
Set console to port 2.
Changed #if defined to a #if check for CONSOLE_USE_INTERRUPTS.
Diffstat (limited to 'c/src/lib/libbsp')
-rw-r--r--c/src/lib/libbsp/powerpc/dmv177/console/console.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/dmv177/console/console.c b/c/src/lib/libbsp/powerpc/dmv177/console/console.c
index df38e346b4..393fa67e95 100644
--- a/c/src/lib/libbsp/powerpc/dmv177/console/console.c
+++ b/c/src/lib/libbsp/powerpc/dmv177/console/console.c
@@ -25,7 +25,7 @@
#define COM1 0
#define COM2 1
#define NUM_PORTS 2
-#define USE_FOR_CONSOLE COM1
+#define USE_FOR_CONSOLE COM2
/*
* Define RDB_BREAK_IN if you need to be able to break in to the
@@ -129,7 +129,7 @@ int console_write_support(
* poll each byte in the string out of the port.
*/
while (nwrite < len) {
-#if defined(CONSOLE_USE_INTERRUPTS)
+#if CONSOLE_USE_INTERRUPTS
#else
console_outbyte_polled(port, *buf++);
#endif