summaryrefslogtreecommitdiffstats
path: root/c/src
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1997-03-21 19:19:33 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1997-03-21 19:19:33 +0000
commit84e5b57f7bb1f3e0e438667d1a378c167c87137f (patch)
treed8662e9c2f6443507c71c72d0f98d1209509403b /c/src
parentFixed timerisr symbol. (diff)
downloadrtems-84e5b57f7bb1f3e0e438667d1a378c167c87137f.tar.bz2
Removed Fake input ifdef code.
Diffstat (limited to 'c/src')
-rw-r--r--c/src/lib/libbsp/sparc/erc32/console/console.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/c/src/lib/libbsp/sparc/erc32/console/console.c b/c/src/lib/libbsp/sparc/erc32/console/console.c
index 517e007a8c..acbbf79198 100644
--- a/c/src/lib/libbsp/sparc/erc32/console/console.c
+++ b/c/src/lib/libbsp/sparc/erc32/console/console.c
@@ -36,15 +36,6 @@
#define RDB_BREAK_IN
/*
- * This is a kludge so the tests run without stopping to ask for input.
- * It makes it possible to run the RTEMS tests without human intervention.
- */
-
-/*
-#define CONSOLE_FAKE_INPUT
-*/
-
-/*
* Should we use a polled or interrupt drived console?
*
* NOTE: Define only one of these by default.
@@ -533,11 +524,6 @@ rtems_device_driver console_read(
buffer = rw_args->buffer;
maximum = rw_args->count;
-#ifdef CONSOLE_FAKE_INPUT
- count = 0;
- buffer[ count++ ] = '\n';
- buffer[ count ] = 0;
-#else
for (count = 0; count < maximum; count++) {
buffer[ count ] = INBYTE( minor );
if (buffer[ count ] == '\n' || buffer[ count ] == '\r') {
@@ -546,7 +532,6 @@ rtems_device_driver console_read(
break;
}
}
-#endif
rw_args->bytes_moved = count;
return (count >= 0) ? RTEMS_SUCCESSFUL : RTEMS_UNSATISFIED;