From 3e9f7f66fe77b0a2b00e269b949e75fe55a81af7 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Wed, 23 Apr 2008 21:51:27 +0000 Subject: 2008-04-23 Joel Sherrill * console/console.c: Remove all references to console_reserve_resources and termios_reserve_resources. --- c/src/lib/libbsp/m68k/av5282/ChangeLog | 5 +++++ c/src/lib/libbsp/m68k/av5282/console/console.c | 12 ------------ c/src/lib/libbsp/m68k/mcf5235/ChangeLog | 5 +++++ c/src/lib/libbsp/m68k/mcf5235/console/console.c | 12 ------------ c/src/lib/libbsp/m68k/uC5282/ChangeLog | 5 +++++ c/src/lib/libbsp/m68k/uC5282/console/console.c | 12 ------------ c/src/lib/libbsp/sh/gensh4/ChangeLog | 5 +++++ c/src/lib/libbsp/sh/gensh4/console/console.c | 17 ----------------- c/src/lib/libbsp/sh/simsh4/ChangeLog | 5 +++++ c/src/lib/libbsp/sh/simsh4/console/console.c | 16 ---------------- 10 files changed, 25 insertions(+), 69 deletions(-) (limited to 'c/src/lib/libbsp') diff --git a/c/src/lib/libbsp/m68k/av5282/ChangeLog b/c/src/lib/libbsp/m68k/av5282/ChangeLog index 485a73ae44..a9c6076cc7 100644 --- a/c/src/lib/libbsp/m68k/av5282/ChangeLog +++ b/c/src/lib/libbsp/m68k/av5282/ChangeLog @@ -1,3 +1,8 @@ +2008-04-23 Joel Sherrill + + * console/console.c: Remove all references to console_reserve_resources + and termios_reserve_resources. + 2008-03-03 Joel Sherrill * startup/linkcmds, startup/linkcmdsflash, startup/linkcmdsram: Add diff --git a/c/src/lib/libbsp/m68k/av5282/console/console.c b/c/src/lib/libbsp/m68k/av5282/console/console.c index ed43b200d0..1fd8c08c5d 100644 --- a/c/src/lib/libbsp/m68k/av5282/console/console.c +++ b/c/src/lib/libbsp/m68k/av5282/console/console.c @@ -595,18 +595,6 @@ IntUartPollWrite (int minor, const char *buf, int len) return(0); } -/*************************************************************************** - Function : console_reserve_resources - - Description : This reserves resources consumed by this driver. It passes - the request on to the termios subsystem. - ***************************************************************************/ -void console_reserve_resources( rtems_configuration_table *configuration ) -{ - rtems_termios_reserve_resources (configuration, 1); -} - - /*************************************************************************** Function : console_initialize diff --git a/c/src/lib/libbsp/m68k/mcf5235/ChangeLog b/c/src/lib/libbsp/m68k/mcf5235/ChangeLog index b4b53ecd52..19c880b8b0 100644 --- a/c/src/lib/libbsp/m68k/mcf5235/ChangeLog +++ b/c/src/lib/libbsp/m68k/mcf5235/ChangeLog @@ -1,3 +1,8 @@ +2008-04-23 Joel Sherrill + + * console/console.c: Remove all references to console_reserve_resources + and termios_reserve_resources. + 2008-03-03 Joel Sherrill * startup/linkcmds, startup/linkcmdsflash, startup/linkcmdsram: Add diff --git a/c/src/lib/libbsp/m68k/mcf5235/console/console.c b/c/src/lib/libbsp/m68k/mcf5235/console/console.c index 5a8725310d..9f627b94fe 100644 --- a/c/src/lib/libbsp/m68k/mcf5235/console/console.c +++ b/c/src/lib/libbsp/m68k/mcf5235/console/console.c @@ -592,18 +592,6 @@ IntUartPollWrite (int minor, const char *buf, int len) return(0); } -/*************************************************************************** - Function : console_reserve_resources - - Description : This reserves resources consumed by this driver. It passes - the request on to the termios subsystem. - ***************************************************************************/ -void console_reserve_resources( rtems_configuration_table *configuration ) -{ - rtems_termios_reserve_resources (configuration, 1); -} - - /*************************************************************************** Function : console_initialize diff --git a/c/src/lib/libbsp/m68k/uC5282/ChangeLog b/c/src/lib/libbsp/m68k/uC5282/ChangeLog index 9dfe8d2c32..c2a408b40d 100644 --- a/c/src/lib/libbsp/m68k/uC5282/ChangeLog +++ b/c/src/lib/libbsp/m68k/uC5282/ChangeLog @@ -1,3 +1,8 @@ +2008-04-23 Joel Sherrill + + * console/console.c: Remove all references to console_reserve_resources + and termios_reserve_resources. + 2008-04-07 Eric Norum * startup/bspstart.c: Clean up non-FPGA use of EPORT interrupts. diff --git a/c/src/lib/libbsp/m68k/uC5282/console/console.c b/c/src/lib/libbsp/m68k/uC5282/console/console.c index 0fc950cb36..600bb7a124 100644 --- a/c/src/lib/libbsp/m68k/uC5282/console/console.c +++ b/c/src/lib/libbsp/m68k/uC5282/console/console.c @@ -630,18 +630,6 @@ IntUartPollWrite (int minor, const char *buf, int len) return(0); } -/*************************************************************************** - Function : console_reserve_resources - - Description : This reserves resources consumed by this driver. It passes - the request on to the termios subsystem. - ***************************************************************************/ -void console_reserve_resources( rtems_configuration_table *configuration ) -{ - rtems_termios_reserve_resources (configuration, 1); -} - - /*************************************************************************** Function : console_initialize diff --git a/c/src/lib/libbsp/sh/gensh4/ChangeLog b/c/src/lib/libbsp/sh/gensh4/ChangeLog index 016d4067c2..64d4cf7ef8 100644 --- a/c/src/lib/libbsp/sh/gensh4/ChangeLog +++ b/c/src/lib/libbsp/sh/gensh4/ChangeLog @@ -1,3 +1,8 @@ +2008-04-23 Joel Sherrill + + * console/console.c: Remove all references to console_reserve_resources + and termios_reserve_resources. + 2008-03-03 Joel Sherrill * startup/linkcmds: Add wildcard to gcc_except_table section so diff --git a/c/src/lib/libbsp/sh/gensh4/console/console.c b/c/src/lib/libbsp/sh/gensh4/console/console.c index 358f632e77..ace780fb8f 100644 --- a/c/src/lib/libbsp/sh/gensh4/console/console.c +++ b/c/src/lib/libbsp/sh/gensh4/console/console.c @@ -188,23 +188,6 @@ console_last_close(int major, int minor, void *arg) return RTEMS_SUCCESSFUL; } -/* console_reserve_resources -- - * reserve termios resources for 2 UART channels - * - * PARAMETERS: - * configuration -- pointer to the RTEMS configuration table - * - * RETURNS: - * none - */ -void -console_reserve_resources(rtems_configuration_table *configuration) -{ - if ((console_mode != CONSOLE_MODE_RAW) && - (console_mode != CONSOLE_MODE_IPL)) - rtems_termios_reserve_resources (configuration, 2); -} - /* console_initialize -- * This routine initializes the console IO drivers and register devices * in RTEMS I/O system. diff --git a/c/src/lib/libbsp/sh/simsh4/ChangeLog b/c/src/lib/libbsp/sh/simsh4/ChangeLog index a6020f9db7..bb6ebfa796 100644 --- a/c/src/lib/libbsp/sh/simsh4/ChangeLog +++ b/c/src/lib/libbsp/sh/simsh4/ChangeLog @@ -1,3 +1,8 @@ +2008-04-23 Joel Sherrill + + * console/console.c: Remove all references to console_reserve_resources + and termios_reserve_resources. + 2008-03-03 Joel Sherrill * startup/linkcmds, startup/linkcmds-le, startup/linkcmds-le.coff: Add diff --git a/c/src/lib/libbsp/sh/simsh4/console/console.c b/c/src/lib/libbsp/sh/simsh4/console/console.c index c0af42111b..b9d4ddbabf 100644 --- a/c/src/lib/libbsp/sh/simsh4/console/console.c +++ b/c/src/lib/libbsp/sh/simsh4/console/console.c @@ -183,22 +183,6 @@ console_last_close(int major, int minor, void *arg) return RTEMS_SUCCESSFUL; } -/* console_reserve_resources -- - * reserve termios resources for 2 UART channels - * - * PARAMETERS: - * configuration -- pointer to the RTEMS configuration table - * - * RETURNS: - * none - */ -void -console_reserve_resources(rtems_configuration_table *configuration) -{ - if (console_mode != CONSOLE_MODE_RAW) - rtems_termios_reserve_resources (configuration, 1); -} - /* console_initialize -- * This routine initializes the console IO drivers and register devices * in RTEMS I/O system. -- cgit v1.2.3