Module: xenomai-forge
Branch: master
Commit: cf3b35b9ea0449d3f731b8cf30637266e305e750
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=cf3b35b9ea0449d3f731b8cf30637266e305e750

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Nov 11 17:44:31 2011 +0100

cobalt/rtdm: move last configuration knob to the common set

We only have a single configuration value available with RTDM now, so
we dont need a dedicated Kconfig for this. Since this is a data
dimensioning info, we move this to the main "Sizes and static limits"
menu.

---

 kernel/cobalt/arch/arm/Kconfig      |    1 -
 kernel/cobalt/arch/blackfin/Kconfig |    1 -
 kernel/cobalt/arch/nios2/Kconfig    |    1 -
 kernel/cobalt/arch/powerpc/Kconfig  |    1 -
 kernel/cobalt/arch/sh/Kconfig       |    1 -
 kernel/cobalt/arch/x86/Kconfig      |    1 -
 kernel/cobalt/nucleus/Kconfig       |   11 +++++++++++
 kernel/cobalt/rtdm/Kconfig          |   14 --------------
 8 files changed, 11 insertions(+), 20 deletions(-)

diff --git a/kernel/cobalt/arch/arm/Kconfig b/kernel/cobalt/arch/arm/Kconfig
index ea691e5..b1324f7 100644
--- a/kernel/cobalt/arch/arm/Kconfig
+++ b/kernel/cobalt/arch/arm/Kconfig
@@ -48,6 +48,5 @@ endmenu
 
 source "kernel/xenomai/nucleus/Kconfig"
 source "kernel/xenomai/Kconfig"
-source "kernel/xenomai/rtdm/Kconfig"
 source "kernel/xenomai/native/Kconfig"
 source "drivers/xenomai/Kconfig"
diff --git a/kernel/cobalt/arch/blackfin/Kconfig 
b/kernel/cobalt/arch/blackfin/Kconfig
index ca80916..eb6430e 100644
--- a/kernel/cobalt/arch/blackfin/Kconfig
+++ b/kernel/cobalt/arch/blackfin/Kconfig
@@ -4,6 +4,5 @@ config XENO_GENERIC_STACKPOOL
 
 source "kernel/xenomai/nucleus/Kconfig"
 source "kernel/xenomai/Kconfig"
-source "kernel/xenomai/rtdm/Kconfig"
 source "kernel/xenomai/native/Kconfig"
 source "drivers/xenomai/Kconfig"
diff --git a/kernel/cobalt/arch/nios2/Kconfig b/kernel/cobalt/arch/nios2/Kconfig
index ca80916..eb6430e 100644
--- a/kernel/cobalt/arch/nios2/Kconfig
+++ b/kernel/cobalt/arch/nios2/Kconfig
@@ -4,6 +4,5 @@ config XENO_GENERIC_STACKPOOL
 
 source "kernel/xenomai/nucleus/Kconfig"
 source "kernel/xenomai/Kconfig"
-source "kernel/xenomai/rtdm/Kconfig"
 source "kernel/xenomai/native/Kconfig"
 source "drivers/xenomai/Kconfig"
diff --git a/kernel/cobalt/arch/powerpc/Kconfig 
b/kernel/cobalt/arch/powerpc/Kconfig
index 5339421..9bbd8ff 100644
--- a/kernel/cobalt/arch/powerpc/Kconfig
+++ b/kernel/cobalt/arch/powerpc/Kconfig
@@ -48,6 +48,5 @@ endmenu
 
 source "kernel/xenomai/nucleus/Kconfig"
 source "kernel/xenomai/Kconfig"
-source "kernel/xenomai/rtdm/Kconfig"
 source "kernel/xenomai/native/Kconfig"
 source "drivers/xenomai/Kconfig"
diff --git a/kernel/cobalt/arch/sh/Kconfig b/kernel/cobalt/arch/sh/Kconfig
index aa5a177..7d182aa 100644
--- a/kernel/cobalt/arch/sh/Kconfig
+++ b/kernel/cobalt/arch/sh/Kconfig
@@ -26,6 +26,5 @@ endmenu
 
 source "kernel/xenomai/nucleus/Kconfig"
 source "kernel/xenomai/Kconfig"
-source "kernel/xenomai/rtdm/Kconfig"
 source "kernel/xenomai/native/Kconfig"
 source "drivers/xenomai/Kconfig"
diff --git a/kernel/cobalt/arch/x86/Kconfig b/kernel/cobalt/arch/x86/Kconfig
index 294f31b..66c7583 100644
--- a/kernel/cobalt/arch/x86/Kconfig
+++ b/kernel/cobalt/arch/x86/Kconfig
@@ -161,6 +161,5 @@ endmenu
 
 source "kernel/xenomai/nucleus/Kconfig"
 source "kernel/xenomai/Kconfig"
-source "kernel/xenomai/rtdm/Kconfig"
 source "kernel/xenomai/native/Kconfig"
 source "drivers/xenomai/Kconfig"
diff --git a/kernel/cobalt/nucleus/Kconfig b/kernel/cobalt/nucleus/Kconfig
index 7fc16ce..06abce6 100644
--- a/kernel/cobalt/nucleus/Kconfig
+++ b/kernel/cobalt/nucleus/Kconfig
@@ -280,6 +280,17 @@ config XENO_OPT_GLOBAL_SEM_HEAPSZ
        architectures or 8 bytes on 64 bits architectures of memory, so,
        the default of 12 Kb allows creating many semaphores.
 
+config XENO_OPT_RTDM_FILDES
+       int "Maximum number of RTDM file descriptors"
+       default 128
+       help
+
+       This option defines the maximum number of RTDM file
+       descriptors which can be opened at the same time. RTDM file
+       descriptors are a global resource all applications share,
+       either via the RTDM skin directly or via the embedded services
+       of the POSIX skin.
+
 endmenu
 
 menuconfig XENO_OPT_DEBUG
diff --git a/kernel/cobalt/rtdm/Kconfig b/kernel/cobalt/rtdm/Kconfig
deleted file mode 100644
index 890e6ce..0000000
--- a/kernel/cobalt/rtdm/Kconfig
+++ /dev/null
@@ -1,14 +0,0 @@
-menu "Real-Time Driver Model"
-
-config XENO_OPT_RTDM_FILDES
-       int "Maximum number of RTDM file descriptors"
-       default 128
-       help
-
-       This option defines the maximum number of RTDM file
-       descriptors which can be opened at the same time. RTDM file
-       descriptors are a global resource all applications share,
-       either via the RTDM skin directly or via the embedded services
-       of the POSIX skin.
-
-endmenu


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to