1 <!-- Copyright (C) 2003 Red Hat, Inc. -->
2 <!-- This material may be distributed only subject to the terms -->
3 <!-- and conditions set forth in the Open Publication License, v1.0 -->
4 <!-- or later (the latest version is presently available at -->
5 <!-- http://www.opencontent.org/openpub/). -->
6 <!-- Distribution of the work or derivative of the work in any -->
7 <!-- standard (paper) book form is prohibited unless prior -->
8 <!-- permission is obtained from the copyright holder. -->
12 >Building the Network Stack</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
22 TITLE="Freebsd TCP/IP stack port"
23 HREF="tcpip-freebsd-stack-port.html"><LINK
25 TITLE="Freebsd TCP/IP stack port"
26 HREF="tcpip-freebsd-stack-port.html"><LINK
29 HREF="tcpip-freebsd-tcpip-apis.html"></HEAD
40 SUMMARY="Header navigation table"
49 >eCos Reference Manual</TH
57 HREF="tcpip-freebsd-stack-port.html"
65 >Chapter 40. Freebsd TCP/IP stack port</TD
71 HREF="tcpip-freebsd-tcpip-apis.html"
85 NAME="TCPIP-FREEBSD-BUILDING-THE-NETWORK-STACK">Building the Network Stack</H1
91 >Build->Packages</I
94 add the packages “Networking”,
95 “Freebsd TCP/IP Stack”
96 and “Common Ethernet Support”
97 to your configuration. Their package names
98 are CYGPKG_NET, CYGPKG_NET_FREEBSD_STACK and CYGPKG_NET_ETH_DRIVERS
101 >A short-cut way to do this is by
102 using the “net” <SPAN
109 if it is available for your platform.</P
111 >The platform-specific ethernet device driver for your platform
112 will be added as part of the target selection (in the
117 >Build->Templates</I
119 > “Hardware” item),
121 PCI I/O subsystem (if relevent) and the appropriate serial device driver.</P
123 >For example, the PowerPC MBX target selection adds the package
124 PKG_NET_QUICC_ETH_DRIVERS,
125 and the Cirrus Logic EDB7xxx target selection adds the package
126 CYGPKG_NET_EDB7XXX_ETH_DRIVERS.
127 After this, eCos and its tests can be built exactly as usual.</P
135 >By default, most of the network tests are not built. This
136 is because some of them require manual intervention, i.e. they are
137 to be run “by hand”, and are not suitable for
138 automated testing. To build the full set of network tests, set
139 the configuration option CYGPKG_NET_BUILD_TESTS “Build
140 networking tests (demo programs)” within “Networking
141 support build options”.</P
150 SUMMARY="Footer navigation table"
161 HREF="tcpip-freebsd-stack-port.html"
179 HREF="tcpip-freebsd-tcpip-apis.html"
189 >Freebsd TCP/IP stack port</TD
195 HREF="tcpip-freebsd-stack-port.html"