On 10/12/07, Andrew Lunn <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 12, 2007 at 10:08:00PM +0200, ?yvind Harboe wrote:
> > On 10/12/07, Andrew Lunn <[EMAIL PROTECTED]> wrote:
> > > On Fri, Oct 12, 2007 at 12:33:44PM +0200, ?yvind Harboe wrote:
> >
> > [stuff deleted]
> >
> >
> > So I take it the trick is to implement something equivalent to
> > freebsd_tcpip/current/src/sys/kern/sockio.c for lwIP then?
>
> Correct.
I'll read up on it.
Non-sequitor: I haven't read up on io/eth, but couldn't make it
compile w/lwIP without attached patch.
>
> > I've tinkered a bit w/lwIP & FreeBSD:
> >
> > - net/common requires a lot of bits and bobs in terms of include files
> > to compile. It seems pretty incestious w/the TCP/IP stack.
>
> Do you actually need net/common?
That's where tftpd is.
Perhaps tftpd does not belong in net/common?
--
Øyvind Harboe
http://www.zylin.com - eCos ARM & FPGA developer kit
### Eclipse Workspace Patch 1.0
#P ecos
Index: io/eth/current/cdl/eth_drivers.cdl
===================================================================
RCS file: /cvs/ecos/ecos/packages/io/eth/current/cdl/eth_drivers.cdl,v
retrieving revision 1.20
diff -u -r1.20 eth_drivers.cdl
--- io/eth/current/cdl/eth_drivers.cdl 20 Mar 2003 15:44:39 -0000 1.20
+++ io/eth/current/cdl/eth_drivers.cdl 13 Oct 2007 07:46:13 -0000
@@ -174,7 +174,7 @@
cdl_component CYGPKG_IO_ETH_DRIVERS_STAND_ALONE {
display "Support for stand-alone network stack."
flavor bool
- active_if !CYGPKG_NET
+ active_if !CYGPKG_NET&&!CYGPKG_NET_LWIP
requires CYGINT_ISO_STRING_MEMFUNCS
default_value 1
compile stand_alone/eth_drv.c
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss