summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2005-09-02 20:29:22 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2005-09-02 20:29:22 +0000
commit501895566bbce6ddcc425ae295586ae295b8de00 (patch)
treec5a35f08efc1d789b6a96e96745b9fe6ee4a0998 /c/src/lib/libbsp/shared
parentRemove dupe entries. (diff)
downloadrtems-501895566bbce6ddcc425ae295586ae295b8de00.tar.bz2
2005-09-02 Joel Sherrill <joel@OARcorp.com>
PR 577/bsps * console.c: Make the previously committed patch for this PR compile.
Diffstat (limited to 'c/src/lib/libbsp/shared')
-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 b79628c8c1..676e4ae40f 100644
--- a/c/src/lib/libbsp/shared/ChangeLog
+++ b/c/src/lib/libbsp/shared/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-02 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 e294fc1714..c477aae4eb 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.