From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15310 invoked by alias); 27 Jun 2013 19:22:53 -0000 Mailing-List: contact ecos-devel-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-devel-owner@ecos.sourceware.org Received: (qmail 15294 invoked by uid 89); 27 Jun 2013 19:22:53 -0000 X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,TW_TD autolearn=ham version=3.3.1 Received: from mail.carallon.com (HELO mail.carallon.com) (95.177.28.122) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Thu, 27 Jun 2013 19:22:52 +0000 X-MDAV-Result: clean X-MDAV-Processed: mail.carallon.com, Thu, 27 Jun 2013 20:22:50 +0100 Received: from [172.20.1.8] by mail.carallon.com (Cipher TLSv1:-SHA:128) (MDaemon PRO v13.0.5) with ESMTP id md50001323242.msg for ; Thu, 27 Jun 2013 20:22:49 +0100 X-Spam-Processed: mail.carallon.com, Thu, 27 Jun 2013 20:22:49 +0100 (not processed: message from trusted or authenticated source) X-MDRemoteIP: 172.20.1.8 X-Return-Path: will_wagner@carallon.com X-Envelope-From: will_wagner@carallon.com X-MDaemon-Deliver-To: ecos-devel@sourceware.org Message-ID: <51CC9106.1050703@carallon.com> Date: Thu, 27 Jun 2013 19:22:00 -0000 From: Will Wagner User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: eCos development list Subject: [RFC 6/9] * Improve lwip cdl options Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00009.txt.bz2 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 Signed-off-by: Will Wagner --- 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