aboutsummaryrefslogtreecommitdiff
path: root/cpu/i386
diff options
context:
space:
mode:
authorwdenk2004-03-14 22:25:36 +0000
committerwdenk2004-03-14 22:25:36 +0000
commit42dfe7a1844cbad7114038aaf03828acb7a84414 (patch)
treed33893d34d2a97aa23257703733dbc9d86d48278 /cpu/i386
parent855a496fe9ba431772f1ff1aef21a5c001288bb0 (diff)
Code cleanup; make several boards compile & link.
Diffstat (limited to 'cpu/i386')
-rw-r--r--cpu/i386/serial.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpu/i386/serial.c b/cpu/i386/serial.c
index f58b47c70e7..db13008ba5b 100644
--- a/cpu/i386/serial.c
+++ b/cpu/i386/serial.c
@@ -51,7 +51,7 @@
#include <asm/io.h>
#include <asm/ibmpc.h>
-#if CONFIG_SERIAL_SOFTWARE_FIFO
+#ifdef CONFIG_SERIAL_SOFTWARE_FIFO
#include <malloc.h>
#endif
@@ -81,7 +81,7 @@
#define asyncLSRRxFifoError1 0x80
-#if CONFIG_SERIAL_SOFTWARE_FIFO
+#ifdef CONFIG_SERIAL_SOFTWARE_FIFO
/*-----------------------------------------------------------------------------+
| Fifo
+-----------------------------------------------------------------------------*/
@@ -193,7 +193,7 @@ int serial_getc(void)
{
unsigned char status = 0;
-#if CONFIG_SERIAL_SOFTWARE_FIFO
+#ifdef CONFIG_SERIAL_SOFTWARE_FIFO
if (serial_buffer_active) {
return serial_buffered_getc();
}
@@ -225,7 +225,7 @@ int serial_tstc(void)
{
unsigned char status;
-#if CONFIG_SERIAL_SOFTWARE_FIFO
+#ifdef CONFIG_SERIAL_SOFTWARE_FIFO
if (serial_buffer_active) {
return serial_buffered_tstc();
}
@@ -248,7 +248,7 @@ int serial_tstc(void)
}
-#if CONFIG_SERIAL_SOFTWARE_FIFO
+#ifdef CONFIG_SERIAL_SOFTWARE_FIFO
void serial_isr(void *arg)
{