]> git.kernelconcepts.de Git - karo-tx-redboot.git/blob - doc/html/ref/net-common-ethernet-driver-design.html
Initial revision
[karo-tx-redboot.git] / doc / html / ref / net-common-ethernet-driver-design.html
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.               -->
9 <HTML
10 ><HEAD
11 ><TITLE
12 >Ethernet Driver Design</TITLE
13 ><meta name="MSSmartTagsPreventParsing" content="TRUE">
14 <META
15 NAME="GENERATOR"
16 CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
17 "><LINK
18 REL="HOME"
19 TITLE="eCos Reference Manual"
20 HREF="ecos-ref.html"><LINK
21 REL="UP"
22 TITLE="TCP/IP Stack Support for eCos"
23 HREF="net-common-tcpip.html"><LINK
24 REL="PREVIOUS"
25 TITLE="TCP/IP Stack Support for eCos"
26 HREF="net-common-tcpip.html"><LINK
27 REL="NEXT"
28 TITLE="Sample Code"
29 HREF="net-common-sample-code.html"></HEAD
30 ><BODY
31 CLASS="CHAPTER"
32 BGCOLOR="#FFFFFF"
33 TEXT="#000000"
34 LINK="#0000FF"
35 VLINK="#840084"
36 ALINK="#0000FF"
37 ><DIV
38 CLASS="NAVHEADER"
39 ><TABLE
40 SUMMARY="Header navigation table"
41 WIDTH="100%"
42 BORDER="0"
43 CELLPADDING="0"
44 CELLSPACING="0"
45 ><TR
46 ><TH
47 COLSPAN="3"
48 ALIGN="center"
49 >eCos Reference Manual</TH
50 ></TR
51 ><TR
52 ><TD
53 WIDTH="10%"
54 ALIGN="left"
55 VALIGN="bottom"
56 ><A
57 HREF="net-common-tcpip.html"
58 ACCESSKEY="P"
59 >Prev</A
60 ></TD
61 ><TD
62 WIDTH="80%"
63 ALIGN="center"
64 VALIGN="bottom"
65 ></TD
66 ><TD
67 WIDTH="10%"
68 ALIGN="right"
69 VALIGN="bottom"
70 ><A
71 HREF="net-common-sample-code.html"
72 ACCESSKEY="N"
73 >Next</A
74 ></TD
75 ></TR
76 ></TABLE
77 ><HR
78 ALIGN="LEFT"
79 WIDTH="100%"></DIV
80 ><DIV
81 CLASS="CHAPTER"
82 ><H1
83 ><A
84 NAME="NET-COMMON-ETHERNET-DRIVER-DESIGN">Chapter 33. Ethernet Driver Design</H1
85 ><P
86 >Currently, the networking stack only supports ethernet based
87 networking. </P
88 ><P
89 >The network drivers use a two-layer design.  One layer is
90 hardware independent and contains all the stack specific code. 
91 The other layer is platform dependent and communicates with the
92 hardware independent layer via a very simple API.  In this way,
93 hardware device drivers can actually be used with other stacks,
94 if the same API can be provided by that stack.  We designed the
95 drivers this way to encourage the development of other stacks in
96 eCos while allowing re-use of the actual hardware specific code. </P
97 ><P
98 >More comprehensive documentation of the ethernet device driver and
99 the associated API can be found in the generic ethernet device driver
100 documentation
101 <A
102 HREF="io-eth-drv-generic.html"
103 >Part XIV in <I
104 >eCos Reference Manual</I
105 ></A
106 >
107 The driver and API is the same as the minimal debug stack used by
108 the RedBoot application. See the RedBoot documentation
109 <A
110 HREF="redboot.html"
111 >Part II in <I
112 >eCos Reference Manual</I
113 ></A
114 >
115 for further
116 information.</P
117 ></DIV
118 ><DIV
119 CLASS="NAVFOOTER"
120 ><HR
121 ALIGN="LEFT"
122 WIDTH="100%"><TABLE
123 SUMMARY="Footer navigation table"
124 WIDTH="100%"
125 BORDER="0"
126 CELLPADDING="0"
127 CELLSPACING="0"
128 ><TR
129 ><TD
130 WIDTH="33%"
131 ALIGN="left"
132 VALIGN="top"
133 ><A
134 HREF="net-common-tcpip.html"
135 ACCESSKEY="P"
136 >Prev</A
137 ></TD
138 ><TD
139 WIDTH="34%"
140 ALIGN="center"
141 VALIGN="top"
142 ><A
143 HREF="ecos-ref.html"
144 ACCESSKEY="H"
145 >Home</A
146 ></TD
147 ><TD
148 WIDTH="33%"
149 ALIGN="right"
150 VALIGN="top"
151 ><A
152 HREF="net-common-sample-code.html"
153 ACCESSKEY="N"
154 >Next</A
155 ></TD
156 ></TR
157 ><TR
158 ><TD
159 WIDTH="33%"
160 ALIGN="left"
161 VALIGN="top"
162 >TCP/IP Stack Support for eCos</TD
163 ><TD
164 WIDTH="34%"
165 ALIGN="center"
166 VALIGN="top"
167 ><A
168 HREF="net-common-tcpip.html"
169 ACCESSKEY="U"
170 >Up</A
171 ></TD
172 ><TD
173 WIDTH="33%"
174 ALIGN="right"
175 VALIGN="top"
176 >Sample Code</TD
177 ></TR
178 ></TABLE
179 ></DIV
180 ></BODY
181 ></HTML
182 >