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

Daniel Hellstrom danielh at rtems.org
Tue Dec 2 13:04:27 UTC 2014


Module:    rtems
Branch:    master
Commit:    e7e92da52e4899dc12be1913c56c1d33605786b9
Changeset: http://git.rtems.org/rtems/commit/?id=e7e92da52e4899dc12be1913c56c1d33605786b9

Author:    Daniel Hellstrom <daniel at gaisler.com>
Date:      Wed Jun  4 16:02:11 2014 +0200

DEVFS04: make test work on LEON3-FT GR712RC

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 file changed, 1 insertion(+), 1 deletion(-)

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
 



More information about the vc mailing list