termios: Remove obsolete configuration options

Update #2843.
This commit is contained in:
Sebastian Huber
2018-02-05 09:57:45 +01:00
parent 4ac5ffbb83
commit 53b6484d38
11 changed files with 6 additions and 35 deletions

View File

@@ -3421,8 +3421,8 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
#error "Maximum priority configured higher than supported by target."
#endif
#ifdef CONFIGURE_TERMIOS_DISABLED
#warning "The CONFIGURE_TERMIOS_DISABLED configuration option is obsolete since RTEMS 5.1"
#ifdef CONFIGURE_NUMBER_OF_TERMIOS_PORTS
#warning "The CONFIGURE_NUMBER_OF_TERMIOS_PORTS configuration option is obsolete since RTEMS 5.1"
#endif
#ifdef CONFIGURE_MAXIMUM_POSIX_BARRIERS
@@ -3449,6 +3449,10 @@ extern rtems_initialization_tasks_table Initialization_tasks[];
#warning "The CONFIGURE_MAXIMUM_POSIX_SPINLOCKS configuration option is obsolete since RTEMS 5.1"
#endif
#ifdef CONFIGURE_TERMIOS_DISABLED
#warning "The CONFIGURE_TERMIOS_DISABLED configuration option is obsolete since RTEMS 5.1"
#endif
/*
* POSIX Key pair shouldn't be less than POSIX Key, which is highly
* likely to be error.

View File

@@ -160,9 +160,6 @@ rtems_task Init(
TERMIOS_TEST_DRIVER_TABLE_ENTRY, \
SERIAL_MOUSE_DRIVER_TABLE_ENTRY
/* one for the console and one for the test port */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
/* we need to be able to open the test device and mouse */
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5
#define CONFIGURE_MAXIMUM_TASKS 1

View File

@@ -1013,9 +1013,6 @@ static rtems_task Init(
/* include an extra slot for registering the termios one dynamically */
#define CONFIGURE_MAXIMUM_DRIVERS 4
/* one for the console and one for the test port */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 3
/* we need to be able to open the test device */
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4

View File

@@ -165,9 +165,6 @@ rtems_task Init(
/* include an extra slot for registering the termios one dynamically */
#define CONFIGURE_MAXIMUM_DRIVERS 3
/* one for the console and one for the test port */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 3
/* we need to be able to open the test device */
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
#define CONFIGURE_MAXIMUM_TASKS 1

View File

@@ -144,9 +144,6 @@ rtems_task Init(
/* include an extra slot for registering the termios one dynamically */
#define CONFIGURE_MAXIMUM_DRIVERS 3
/* one for the console and one for the test port */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 3
/* we need to be able to open the test device */
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
#define CONFIGURE_MAXIMUM_TASKS 1

View File

@@ -155,9 +155,6 @@ rtems_task Init(
/* include an extra slot for registering the termios one dynamically */
#define CONFIGURE_MAXIMUM_DRIVERS 3
/* one for the console and one for the test port */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 3
/* we need to be able to open the test device */
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4

View File

@@ -211,9 +211,6 @@ rtems_task Init(
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_EXTRA_DRIVERS TERMIOS_TEST_DRIVER_TABLE_ENTRY
/* one for the console and one for the test port */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 3
/* we need to be able to open the test device */
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4

View File

@@ -171,9 +171,6 @@ rtems_task Init(
/* include an extra slot for registering the termios one dynamically */
#define CONFIGURE_MAXIMUM_DRIVERS 3
/* one for the console and one for the test port */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 3
/* we need to be able to open the test device */
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4
#define CONFIGURE_MAXIMUM_TASKS 1

View File

@@ -154,9 +154,6 @@ rtems_task Init(
#define CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER
#define CONFIGURE_APPLICATION_EXTRA_DRIVERS TERMIOS_TEST_DRIVER_TABLE_ENTRY
/* one for the console and one for the test port */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 3
/* we need to be able to open the test device */
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 4

View File

@@ -132,9 +132,6 @@ rtems_task Init(
TERMIOS_TEST_DRIVER_TABLE_ENTRY, \
SERIAL_MOUSE_DRIVER_TABLE_ENTRY
/* one for the console and one for the test port */
#define CONFIGURE_NUMBER_OF_TERMIOS_PORTS 2
/* we need to be able to open the test device and mouse */
#define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5
#define CONFIGURE_MAXIMUM_TASKS 1

View File

@@ -52,12 +52,6 @@ static void *Init( uintptr_t ignored )
*/
#define CONFIGURE_DISABLE_NEWLIB_REENTRANCY
/*
* This test does not need the console driver so there is no reason
* to configure termios.
*/
#define CONFIGURE_TERMIOS_DISABLED
/*
* This test does not use any stdio.
*/