This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: lwip - Ethernet
- From: Savin Zlobec <savin at torina dot fe dot uni-lj dot si>
- To: <Stuart dot Park at sli-institute dot ac dot uk>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 29 Aug 2003 19:45:12 +0200 (CEST)
- Subject: [ECOS] Re: lwip - Ethernet
> Hi,
>
> Just added the lwip package downloaded from the savannah site and have
> added this package into my eCos resopitory. What is the Ethernet net
> package that is to be included to allow Ethernet support. I have tried
> using the 'Common Ethernet Support' package but it gives errors when I
> build it, such as below, is this the right package to use. I am using the
> Intel default target, and am using the old 'current' eCos repository
> (problems with v2 repository).
I use lwip with ecos synthetic target and on my HW with cs8900a. The
only think I had to do by hand is to disable CYGPKG_IO_ETH_DRIVERS_STAND_ALONE.
You have 2 eth drivers in ecos - the net and the stand alone (used with
redboot). With lwip you get the third one, it seems to me that your
low level eth driver only supports interrupts when using the standard net
driver (CYGPKG_IO_ETH_DRIVERS_NET) - it may be just a matter of defines.
I would start by changing the
#ifdef CYGPKG_IO_ETH_DRIVERS_NET
into
#ifndef CYGPKG_IO_ETH_DRIVERS_STAND_ALONE
in eth_dsr - but it is just a guess since I never used the i82559 driver.
savin
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss