[rtems commit] LEON3: devfs free nodes must be sized
Daniel Hellstrom
danielh at rtems.org
Mon Jun 30 13:37:48 UTC 2014
Module: rtems
Branch: master
Commit: 47cf1adda923a32067fddbbb63363ccedce2519e
Changeset: http://git.rtems.org/rtems/commit/?id=47cf1adda923a32067fddbbb63363ccedce2519e
Author: Daniel Hellstrom <daniel at gaisler.com>
Date: Wed Jun 4 14:22:00 2014 +0200
LEON3: devfs free nodes must be sized
.. according to the maximum number of termios ports which is
8. Since LEON3 uses PnP to find how many UARTs there are
present we must make sure worst case work.
The current maximum of 4 free nodes caused for example the
GR712RC with its 6 UARTs to fail during devfs02 test.
---
c/src/lib/libbsp/sparc/leon3/include/bsp.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/c/src/lib/libbsp/sparc/leon3/include/bsp.h b/c/src/lib/libbsp/sparc/leon3/include/bsp.h
index 1be6cc2..cb15796 100644
--- a/c/src/lib/libbsp/sparc/leon3/include/bsp.h
+++ b/c/src/lib/libbsp/sparc/leon3/include/bsp.h
@@ -62,6 +62,9 @@ void *bsp_idle_thread( uintptr_t ignored );
/* Maximum supported APBUARTs by BSP */
#define BSP_NUMBER_OF_TERMIOS_PORTS 8
+/* Make sure maximum number of consoles fit in filesystem */
+#define BSP_MAXIMUM_DEVICES 8
+
/*
* Network driver configuration
*/
More information about the vc
mailing list