Changeset 4a4c78d9 in rtems
- Timestamp:
- 08/19/05 16:20:00 (19 years ago)
- Children:
- 82973a28
- Parents:
- 3d7d233c
- Location:
- c/src/lib/libbsp/shared
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/shared/ChangeLog
r3d7d233c r4a4c78d9 1 2005-08-19 Cedric Aubert <cedric_aubert@yahoo.fr> 2 3 PR 577/bsps 4 * console.c: The console_close() method currently calls StopRemoteTx() 5 on all invocations. It should should be ok for last close only but 6 not for any others. If you open a port multiple times, you only want 7 to call StopRemoteTx() only as part of the last close. 8 1 9 2004-12-10 Ralf Corsepius <ralf.corsepius@rtems.org> 2 10 -
c/src/lib/libbsp/shared/console.c
r3d7d233c r4a4c78d9 129 129 rtems_libio_open_close_args_t *args = arg; 130 130 131 if ( (args->iop->flags&LIBIO_FLAGS_READ) && 132 Console_Port_Tbl[minor].pDeviceFlow && 133 Console_Port_Tbl[minor].pDeviceFlow->deviceStopRemoteTx) { 134 Console_Port_Tbl[minor].pDeviceFlow->deviceStopRemoteTx(minor); 131 /* Get the tty refcount to determine if we need to do deviceStopRemoteTx. 132 * Stop only if it's the last one opened. 133 */ 134 if ( (current_tty->refcount == 1) ) { 135 if ( (args->iop->flags&LIBIO_FLAGS_READ) && 136 Console_Port_Tbl[minor].pDeviceFlow && 137 Console_Port_Tbl[minor].pDeviceFlow->deviceStopRemoteTx) { 138 Console_Port_Tbl[minor].pDeviceFlow->deviceStopRemoteTx(minor); 139 } 135 140 } 136 141
Note: See TracChangeset
for help on using the changeset viewer.