This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ecos with lwip and 2 interfaces


On Wed, Sep 23, 2009 at 6:59 PM, Simon Kallweit
<simon.kallweit@intefo.ch> wrote:
> Mandeep Sandhu wrote:
>>
>> On Wed, Sep 23, 2009 at 6:40 PM, Simon Kallweit
>> <simon.kallweit@intefo.ch> 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 not
>>> 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)
>> ? ? ? ?netif_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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]