public inbox for ecos-devel@sourceware.org
 help / color / mirror / Atom feed
From: Will Wagner <will_wagner@carallon.com>
To: eCos development list <ecos-devel@sourceware.org>
Subject: [RFC 6/9] * Improve lwip cdl options
Date: Thu, 27 Jun 2013 19:22:00 -0000	[thread overview]
Message-ID: <51CC9106.1050703@carallon.com> (raw)

There are a number of lwip cdl options which are only valid if
another option is selected. Add the relevant active_if statements
to the cdl file.

Signed-off-by: Andrew Parlane <andrewp@carallon.com>
Signed-off-by: Will Wagner <willw@carallon.com>
---
  packages/net/lwip_tcpip/current/cdl/lwip_net.cdl | 16 ++++++++++++++++
  1 file changed, 16 insertions(+)

diff --git a/packages/net/lwip_tcpip/current/cdl/lwip_net.cdl 
b/packages/net/lwip_tcpip/current/cdl/lwip_net.cdl
index cd7a8ec..69fcc3d 100644
--- a/packages/net/lwip_tcpip/current/cdl/lwip_net.cdl
+++ b/packages/net/lwip_tcpip/current/cdl/lwip_net.cdl
@@ -1278,6 +1278,7 @@ cdl_package CYGPKG_NET_LWIP {
              display         "Simultaneous queued IP packets for 
reassembly"
              flavor          data
              default_value   5
+            active_if       { CYGFUN_LWIP_IP_REASSEMBLY }
              description     "
                  The number of simultaneously IP packets queued for 
reassembly
                  (whole packets, not fragments!)."
@@ -1330,6 +1331,8 @@ cdl_package CYGPKG_NET_LWIP {
              display         "Struct netbufs"
              flavor          data
              default_value   2
+            active_if       { CYGFUN_LWIP_MODE_SEQUENTIAL &&
+                              CYGPKG_LWIP_NETCONN_API }
              description     "
                 The number of struct netbufs. (only needed if you use the
                 sequential API, like api_lib.c)"
@@ -1339,6 +1342,8 @@ cdl_package CYGPKG_NET_LWIP {
              display         "Struct netconns"
              flavor          data
              default_value   4
+            active_if       { CYGFUN_LWIP_MODE_SEQUENTIAL &&
+                              CYGPKG_LWIP_NETCONN_API }
              description     "
                  The number of struct netconns. (only needed if you use the
                  sequential API, like api_lib.c)"
@@ -1348,6 +1353,8 @@ cdl_package CYGPKG_NET_LWIP {
              display         "Number of concurrent lwip_addrinfo() calls"
              flavor          data
              default_value   1
+            active_if       { CYGPKG_LWIP_DNS &&
+                              CYGPKG_LWIP_SOCKET_API }
              description     "
                  The number of netdb buffers. (only needed if you use DNS)"
          }
@@ -1356,6 +1363,8 @@ cdl_package CYGPKG_NET_LWIP {
              display         "Number of host entries"
              flavor          data
              default_value   1
+            active_if       { CYGPKG_LWIP_DNS &&
+ 
(CYGFUN_LWIP_DNS_LOCAL_HOSTLIST_IS_DYNAMIC == 1) }
              description     "
                  The number of host entries in the local host list.
                  (only needed if you use DNS and 
CYGFUN_LWIP_DNS_LOCAL_HOSTLIST_IS_DYNAMIC == 1)"
@@ -1365,6 +1374,7 @@ cdl_package CYGPKG_NET_LWIP {
              display         "Struct tcpip_msg"
              flavor          data
              default_value   8
+            active_if       { CYGFUN_LWIP_MODE_SEQUENTIAL }
              description     "
                  The number of struct tcpip_msg, which are used for
                  callback/timeout API communication. (only needed if 
you use
@@ -1375,6 +1385,7 @@ cdl_package CYGPKG_NET_LWIP {
              display         "Incoming struct tcpip_msg"
              flavor          data
              default_value   8
+            active_if       { CYGFUN_LWIP_MODE_SEQUENTIAL }
              description     "
                  The number of struct tcpip_msg, which are used for 
incoming
                  packets. (only needed if you use tcpip.c)"
@@ -1384,6 +1395,7 @@ cdl_package CYGPKG_NET_LWIP {
              display         "Number of PPoE interfaces"
              flavor          data
              default_value   1
+            active_if       { CYGFUN_LWIP_PPPOE_SUPPORT }
              description     "
                  The number of concurrently active PPPoE interfaces
                  (only used with CYGFUN_LWIP_PPPOE_SUPPORT)"
@@ -1393,6 +1405,7 @@ cdl_package CYGPKG_NET_LWIP {
              display         "Number of branches in SNMP tree"
              flavor          data
              default_value   30
+            active_if       { CYGPKG_LWIP_SNMP }
              description     "
                  The number of branches in the SNMP tree. (only needed 
if you use SNMP)"
          }
@@ -1401,6 +1414,7 @@ cdl_package CYGPKG_NET_LWIP {
              display         "Number of leafs in the SNMP tree"
              flavor          data
              default_value   50
+            active_if       { CYGPKG_LWIP_SNMP }
              description     "
                  The number of leafs in the SNMP tree. (only needed if 
you use SNMP)"
          }
@@ -1409,6 +1423,7 @@ cdl_package CYGPKG_NET_LWIP {
              display         "Number of concurrent SNMP requests"
              flavor          data
              default_value   2
+            active_if       { CYGPKG_LWIP_SNMP }
              description     "
                  Two of of these are used per request: One for input,
                  one for output. (Only needed if you use SNMP)"
@@ -1418,6 +1433,7 @@ cdl_package CYGPKG_NET_LWIP {
              display         "Number of SNMP OID or values"
              flavor          data
              default_value   3
+            active_if       { CYGPKG_LWIP_SNMP }
              description     "
                  The number of OID or values concurrently used.
                  Three of these are used per request: One for the value
-- 
1.8.1.msysgit.1


                 reply	other threads:[~2013-06-27 19:22 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51CC9106.1050703@carallon.com \
    --to=will_wagner@carallon.com \
    --cc=ecos-devel@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).