> > >Building the Network Stack >
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"> REL="HOME"
TITLE="eCos Reference Manual"
HREF="ecos-ref.html"> REL="UP"
TITLE="OpenBSD TCP/IP stack port"
HREF="tcpip-openbsd-stack-port.html"> REL="PREVIOUS"
TITLE="OpenBSD TCP/IP stack port"
HREF="tcpip-openbsd-stack-port.html"> REL="NEXT"
TITLE="Inclusion of bridge code"
HREF="tcpip-openbsd-building-the-bridge-code.html"> > CLASS="SECT1"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
> CLASS="NAVHEADER"
> SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
> > COLSPAN="3"
ALIGN="center"
>eCos Reference Manual > > > WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
> HREF="tcpip-openbsd-stack-port.html"
ACCESSKEY="P"
>Prev > > WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 47. OpenBSD TCP/IP stack port > WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
> HREF="tcpip-openbsd-building-the-bridge-code.html"
ACCESSKEY="N"
>Next > > > > ALIGN="LEFT"
WIDTH="100%"> > CLASS="SECT1"
> CLASS="SECT1"
> NAME="TCPIP-OPENBSD-BUILDING-THE-NETWORK-STACK"
>Building the Network Stack > > >Using the CLASS="emphasis"
> CLASS="EMPHASIS"
>Build->Packages > > dialog,
add the packages “Networking”,
“OpenBSD TCP/IP Stack”
and “Common Ethernet Support”
to your configuration. Their package names
are CYGPKG_NET, CYGPKG_NET_OPENBSD_STACK and CYGPKG_NET_ETH_DRIVERS
respectively. > >A short-cut way to do this is by
using the “net” CLASS="emphasis"
> CLASS="EMPHASIS"
>template > >
if it is available for your platform. > >The platform-specific ethernet device driver for your platform
will be added as part of the target selection (in the
CLASS="emphasis"
> CLASS="EMPHASIS"
>Build->Templates > > “Hardware” item),
along with the
PCI I/O subsystem (if relevent) and the appropriate serial device driver. > >For example, the PowerPC MBX target selection adds the package
PKG_NET_QUICC_ETH_DRIVERS,
and the Cirrus Logic EDB7xxx target selection adds the package
CYGPKG_NET_EDB7XXX_ETH_DRIVERS.
After this, eCos and its tests can be built exactly as usual. > CLASS="NOTE"
> CLASS="NOTE"
> > >Note: >By default, most of the network tests are not built. This
is because some of them require manual intervention, i.e. they are
to be run “by hand”, and are not suitable for
automated testing. To build the full set of network tests, set
the configuration option CYGPKG_NET_BUILD_TESTS “Build
networking tests (demo programs)” within “Networking
support build options”. > > > > CLASS="NAVFOOTER"
> ALIGN="LEFT"
WIDTH="100%"> SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
> > WIDTH="33%"
ALIGN="left"
VALIGN="top"
> HREF="tcpip-openbsd-stack-port.html"
ACCESSKEY="P"
>Prev > > WIDTH="34%"
ALIGN="center"
VALIGN="top"
> HREF="ecos-ref.html"
ACCESSKEY="H"
>Home > > WIDTH="33%"
ALIGN="right"
VALIGN="top"
> HREF="tcpip-openbsd-building-the-bridge-code.html"
ACCESSKEY="N"
>Next > > > > WIDTH="33%"
ALIGN="left"
VALIGN="top"
>OpenBSD TCP/IP stack port > WIDTH="34%"
ALIGN="center"
VALIGN="top"
> HREF="tcpip-openbsd-stack-port.html"
ACCESSKEY="U"
>Up > > WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Inclusion of bridge code > > > > > >