Jan Kiszka wrote:
Philippe Gerum wrote:

Jan Kiszka wrote:

I haven't worked out any patch for those issues. Actually, I only wanted
to put this patch forward when stumbling over the other:

--- ksrc/skins/native/Kconfig   (revision 564)
+++ ksrc/skins/native/Kconfig   (working copy)
@@ -127,7 +127,6 @@

config XENO_OPT_NATIVE_INTR
    bool "Interrupts"
-    default y
    help

    This option provides a simple API to deal with interrupts,

Rationale: the /default/ way of handling IRQs should be via RTDM-based
drivers. Only users who know what they are doing should leave this path
and will have to switch on this feature explicitly. If this view can be
commonly accepted, I will add some lines to the feature's help text as
well.


Agreed.



Then apply this one, please. I noticed that 2.4 does not know default
values for bool options, correct?


Correct.

Jan


------------------------------------------------------------------------

Index: ksrc/skins/native/Kconfig
===================================================================
--- ksrc/skins/native/Kconfig   (revision 568)
+++ ksrc/skins/native/Kconfig   (working copy)
@@ -128,11 +128,11 @@
config XENO_OPT_NATIVE_INTR
        bool "Interrupts"
-       default y
        help
        
        This option provides a simple API to deal with interrupts,
-       both in kernel and user-space contexts. Registry support is
-       required.
+       both in kernel and user-space contexts. Note that the preferred
+       way of implementing generic drivers usable across all Xenomai
+       interfaces is defined by the Real-Time Driver Model (RTDM).
endif


--

Philippe.

Reply via email to