This is the mail archive of the ecos-discuss@sources.redhat.com 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]

Bridge test code in OpenBSD


Hi,

It seems that the test code in bridge.c is dependent on definition of CYGPKG_NET_BRIDGE, but CYGPKG_NET_BRIDGE has a 'no_define' directive associated with it in file openbsd_net.cdl which suppresses its definition in the generated header. As an end result, the running the test produces a print "No bridge support available".

The following patch should fix the problem : Index: net/tcpip/current/ChangeLog =================================================================== RCS file: /cvs/ecos/ecos-opt/net/net/tcpip/current/ChangeLog,v retrieving revision 1.44 diff -u -r1.44 ChangeLog --- net/tcpip/current/ChangeLog 22 Sep 2003 15:33:36 -0000 1.44 +++ net/tcpip/current/ChangeLog 25 Sep 2003 13:14:55 -0000 @@ -1,3 +1,8 @@ +2003-09-25 Manu Sharma <manu.sharma@ascom.com> + * cdl/openbsd_net.cdl: Removed the no_define directive for + CYGPKG_NET_BRIDGE. The test code in bridge.c depends on this + definition. +
2003-09-22 Reinhard Jessich <Reinhard.Jessich@frequentis.com>

* include/net/if.h: Define macro IF_IS_EMPTY needed by eth_drv.c Index: net/tcpip/current/cdl/openbsd_net.cdl =================================================================== RCS file: /cvs/ecos/ecos-opt/net/net/tcpip/current/cdl/openbsd_net.cdl,v retrieving revision 1.2 diff -u -r1.2 openbsd_net.cdl --- net/tcpip/current/cdl/openbsd_net.cdl 24 Feb 2003 14:31:59 -0000 1.2 +++ net/tcpip/current/cdl/openbsd_net.cdl 25 Sep 2003 13:15:12 -0000 @@ -182,7 +182,6 @@
display "Built-in ethernet bridge code"
default_value 0
implements CYGINT_NET_BRIDGE_HANDLER - no_define
description "
This option controls whether to include the built-in code for
the Ethernet bridge."

regards, Manu

-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]