From: Ben Gras Date: Wed, 19 May 2010 10:18:46 +0000 (+0000) Subject: use oxpcie only if enabled to avoid baud bottleneck of uart. X-Git-Tag: v3.1.7~48 X-Git-Url: http://zhaoyanbai.com/repos/?a=commitdiff_plain;h=6d0e53c2ca55c5c949c0dd2fd77822cde7804570;p=minix.git use oxpcie only if enabled to avoid baud bottleneck of uart. --- diff --git a/kernel/arch/i386/arch_system.c b/kernel/arch/i386/arch_system.c index ac74007f7..c10b6e174 100644 --- a/kernel/arch/i386/arch_system.c +++ b/kernel/arch/i386/arch_system.c @@ -229,8 +229,7 @@ PUBLIC void ser_putc(char c) #if CONFIG_OXPCIE oxpcie_putc(c); -#endif - +#else lsr= COM1_LSR; thr= COM1_THR; for (i= 0; i<100000; i++) @@ -239,6 +238,7 @@ PUBLIC void ser_putc(char c) break; } outb( thr, c); +#endif } /*===========================================================================*