summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libchip/serial/ns16550.c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-05 23:57:35 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-05 23:57:35 +0000
commit0eb85ae3e72b0e00ea042c9c411ed577c8de5f43 (patch)
treec9b616176bdb2fe7a5b99934c8e67ed4fd2731f6 /c/src/lib/libchip/serial/ns16550.c
parentAdded constants which made the multiple bit settings more readable (diff)
downloadrtems-0eb85ae3e72b0e00ea042c9c411ed577c8de5f43.tar.bz2
Commented out the code which yields the CPU when the serial controller is
busy. This type of behavior perturbs the tests and many of them will not pass.
Diffstat (limited to 'c/src/lib/libchip/serial/ns16550.c')
-rw-r--r--c/src/lib/libchip/serial/ns16550.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/c/src/lib/libchip/serial/ns16550.c b/c/src/lib/libchip/serial/ns16550.c
index d5ac72004f..e35771dfb4 100644
--- a/c/src/lib/libchip/serial/ns16550.c
+++ b/c/src/lib/libchip/serial/ns16550.c
@@ -201,9 +201,11 @@ NS16550_STATIC void ns16550_write_polled(
/*
* Yield while we wait
*/
+#if 0
if(_System_state_Is_up(_System_state_Get())) {
rtems_task_wake_after(RTEMS_YIELD_PROCESSOR);
}
+#endif
ucLineStatus = (*getReg)(pNS16550, NS16550_LINE_STATUS);
if(!--iTimeout) {
break;