From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26095 invoked by alias); 23 Sep 2009 13:50:20 -0000 Received: (qmail 26080 invoked by uid 22791); 23 Sep 2009 13:50:19 -0000 X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_45,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-px0-f202.google.com (HELO mail-px0-f202.google.com) (209.85.216.202) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 23 Sep 2009 13:50:15 +0000 Received: by pxi40 with SMTP id 40so593580pxi.24 for ; Wed, 23 Sep 2009 06:50:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.4.40 with SMTP id 40mr177813wfd.127.1253713814293; Wed, 23 Sep 2009 06:50:14 -0700 (PDT) In-Reply-To: <4ABA22B2.4020401@intefo.ch> References: <4AB87C82.3090901@intefo.ch> <4ABA192E.3020109@intefo.ch> <4ABA1E60.7060009@intefo.ch> <4ABA22B2.4020401@intefo.ch> Date: Wed, 23 Sep 2009 13:50:00 -0000 Message-ID: From: Mandeep Sandhu To: Simon Kallweit Cc: ecos-discuss Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] ecos with lwip and 2 interfaces X-SW-Source: 2009-09/txt/msg00218.txt.bz2 On Wed, Sep 23, 2009 at 6:59 PM, Simon Kallweit wrote: > Mandeep Sandhu wrote: >> >> On Wed, Sep 23, 2009 at 6:40 PM, Simon Kallweit >> wrote: >>> >>> Mandeep Sandhu wrote: >>>> >>>> I observed another thing while debugging this issue. Even though my >>>> Default interface is set to eth0, the option CYGDAT_LWIP_ETH0_DEFAULT >>>> in the .ecc file is still not set! I'm using "configtool" to change my >>>> config. Is this a GUI tool issue? >>> >>> Well, it is not set, but the default value for eth0 is '1' so it does n= ot >>> need to be overwritten by a user value. When creating the tree you will >>> notice the proper #define in include/pkgconf/net_lwip.h: >>> >>> #define CYGPKG_LWIP_ETH0_CONF 1 >> >> Oh! ok thanks. >> >> One small thing. I think the check you added in eth_drv_init() should be >> >> if (conf && conf->def) >> =A0 =A0 =A0 =A0netif_set_default(netif); > > Absolutely. Dumb copy'paste mistake. I'll fix it in and redo the download > archive. > > Any success with the new version? Yup! Working fine till now. Still running more tests. Will post back if I see anything out of the ordinary! Thanks, -mandeep > > Simon > -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss