Mandeep Sandhu wrote:
On Wed, Sep 23, 2009 at 6:40 PM, Simon Kallweit
<[email protected]> 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?

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

Reply via email to