diff options
Diffstat (limited to 'c/src/lib/libbsp/shared')
-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. |