summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-09-09 11:19:25 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-09-09 11:19:25 +0000
commit52adbd42e57845dd33b4b7c85070ba3ad086f23e (patch)
tree0969965a6621ede79d274e3e9b159f2d141e3162 /c
parent2005-09-01 Joel Sherrill <joel@OARcorp.com> (diff)
downloadrtems-52adbd42e57845dd33b4b7c85070ba3ad086f23e.tar.bz2
2005-09-09 Joel Sherrill <joel@OARcorp.com>
PR 577/bsps * console.c: Make the previously committed patch for this PR compile.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/shared/ChangeLog5
-rw-r--r--c/src/lib/libbsp/shared/console.c4
2 files changed, 9 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/shared/ChangeLog b/c/src/lib/libbsp/shared/ChangeLog
index 30e3f1d1a4..f396a5d459 100644
--- a/c/src/lib/libbsp/shared/ChangeLog
+++ b/c/src/lib/libbsp/shared/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-09 Joel Sherrill <joel@OARcorp.com>
+
+ PR 577/bsps
+ * console.c: Make the previously committed patch for this PR compile.
+
2005-08-19 Cedric Aubert <cedric_aubert@yahoo.fr>
PR 577/bsps
diff --git a/c/src/lib/libbsp/shared/console.c b/c/src/lib/libbsp/shared/console.c
index b553ae9fed..9748dc2b5e 100644
--- a/c/src/lib/libbsp/shared/console.c
+++ b/c/src/lib/libbsp/shared/console.c
@@ -127,6 +127,10 @@ rtems_device_driver console_close(
)
{
rtems_libio_open_close_args_t *args = arg;
+ struct rtems_termios_tty *current_tty;
+
+ /* Get tty pointeur from the Console_Port_Data */
+ current_tty = Console_Port_Data[minor].termios_data;
/* Get the tty refcount to determine if we need to do deviceStopRemoteTx.
* Stop only if it's the last one opened.