[PATCH 1/5] imfs: Fix IMFS_stat_file()

2016-09-16 Thread Sebastian Huber
Use the adjusted and not the requested memfile bytes per block. Untangle dependencies. --- cpukit/libfs/src/imfs/imfs_initsupp.c | 5 - cpukit/libfs/src/imfs/imfs_stat_file.c | 4 +++- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/cpukit/libfs/src/imfs/imfs_initsupp.c b/cpuk

[PATCH 5/5] termios: Add IO control handler

2016-09-16 Thread Sebastian Huber
Update #2785. --- cpukit/libcsupport/include/rtems/termiostypes.h | 15 +++ cpukit/libcsupport/src/termios.c| 7 +-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/cpukit/libcsupport/include/rtems/termiostypes.h b/cpukit/libcsupport/include/rtems/

[PATCH 2/5] imfs: Untangle dependencies

2016-09-16 Thread Sebastian Huber
This helps to use IMFS_make_generic_node() without pulling in the complete IMFS implementation. --- cpukit/libfs/src/imfs/imfs_initsupp.c | 89 -- cpukit/libfs/src/imfs/imfs_stat.c | 91 +++ 2 files changed, 91 insertions(+), 89 d

[PATCH 3/5] tests: CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM

2016-09-16 Thread Sebastian Huber
Avoid unnecessary use of CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM. --- testsuites/libtests/complex/init.c| 1 - testsuites/libtests/math/init.c | 1 - testsuites/libtests/mathf/init.c | 1 - testsuites/libtests/mathl/init.c | 1 - testsuites/libtests/stringto01/init.c | 1 - test

[PATCH 4/5] termios: Use IMFS nodes for new Termios devices

2016-09-16 Thread Sebastian Huber
This makes the new Termios devices independent of device major/minor numbers. It enables BSP independent Termios device drivers which may reside in the cpukit domain. These drivers require an IMFS and do not work with the device file system. However, the device file system should go away in the

[PATCH] cpukit: Add nxp-sc16is752 serial device driver

2016-09-16 Thread Alexander Krutwig
--- cpukit/dev/Makefile.am| 7 + cpukit/dev/include/dev/serial/nxp-sc16is752.h | 68 ++ cpukit/dev/preinstall.am | 9 + cpukit/dev/serial/nxp-sc16is752-regs.h| 122 ++ cpukit/dev/serial/nxp-sc16is752-spi.c | 90 +++