[PATCH] DEVFS04: make test work on LEON3-FT GR712RC

Daniel Hellstrom daniel at gaisler.com
Fri Nov 14 12:32:38 UTC 2014


The LEON3 BSP have support for up to 8 termios consoles, the
LEON3-FT GR712RC uses 6 UARTs.

This does not take into account the BSP maximum devices instead
it is hardcoded to 6. This patch increases it the maximum
devices of DEVFS04 from 6 to 10.
---
 testsuites/libtests/devfs04/init.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/testsuites/libtests/devfs04/init.c b/testsuites/libtests/devfs04/init.c
index 5b42173..42f7977 100644
--- a/testsuites/libtests/devfs04/init.c
+++ b/testsuites/libtests/devfs04/init.c
@@ -84,7 +84,7 @@ rtems_task Init(
 
 /* include an extra slot for registering the termios one dynamically */
 #define CONFIGURE_MAXIMUM_DRIVERS 3
-#define CONFIGURE_MAXIMUM_DEVICES 6
+#define CONFIGURE_MAXIMUM_DEVICES 10
 
 #define CONFIGURE_LIBIO_MAXIMUM_FILE_DESCRIPTORS 5
 
-- 
1.7.0.4



More information about the devel mailing list