diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-09-02 20:29:22 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2005-09-02 20:29:22 +0000 |
commit | 501895566bbce6ddcc425ae295586ae295b8de00 (patch) | |
tree | c5a35f08efc1d789b6a96e96745b9fe6ee4a0998 | |
parent | Remove dupe entries. (diff) | |
download | rtems-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.
-rw-r--r-- | c/src/lib/libbsp/shared/ChangeLog | 5 | ||||
-rw-r--r-- | c/src/lib/libbsp/shared/console.c | 4 |
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. |