OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-2.0/] [doc/] [html/] [ref/] [net-common-ethernet-driver-design.html] - Diff between revs 28 and 174

Only display areas with differences | Details | Blame | View Log

Rev 28 Rev 174
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
<!-- Copyright (C) 2003 Red Hat, Inc.                                -->
<!-- This material may be distributed only subject to the terms      -->
<!-- This material may be distributed only subject to the terms      -->
<!-- and conditions set forth in the Open Publication License, v1.0  -->
<!-- and conditions set forth in the Open Publication License, v1.0  -->
<!-- or later (the latest version is presently available at          -->
<!-- or later (the latest version is presently available at          -->
<!-- http://www.opencontent.org/openpub/).                           -->
<!-- http://www.opencontent.org/openpub/).                           -->
<!-- Distribution of the work or derivative of the work in any       -->
<!-- Distribution of the work or derivative of the work in any       -->
<!-- standard (paper) book form is prohibited unless prior           -->
<!-- standard (paper) book form is prohibited unless prior           -->
<!-- permission is obtained from the copyright holder.               -->
<!-- permission is obtained from the copyright holder.               -->
<HTML
<HTML
><HEAD
><HEAD
><TITLE
><TITLE
>Ethernet Driver Design</TITLE
>Ethernet Driver Design</TITLE
><meta name="MSSmartTagsPreventParsing" content="TRUE">
><meta name="MSSmartTagsPreventParsing" content="TRUE">
<META
<META
NAME="GENERATOR"
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
CONTENT="Modular DocBook HTML Stylesheet Version 1.76b+
"><LINK
"><LINK
REL="HOME"
REL="HOME"
TITLE="eCos Reference Manual"
TITLE="eCos Reference Manual"
HREF="ecos-ref.html"><LINK
HREF="ecos-ref.html"><LINK
REL="UP"
REL="UP"
TITLE="TCP/IP Stack Support for eCos"
TITLE="TCP/IP Stack Support for eCos"
HREF="net-common-tcpip.html"><LINK
HREF="net-common-tcpip.html"><LINK
REL="PREVIOUS"
REL="PREVIOUS"
TITLE="TCP/IP Stack Support for eCos"
TITLE="TCP/IP Stack Support for eCos"
HREF="net-common-tcpip.html"><LINK
HREF="net-common-tcpip.html"><LINK
REL="NEXT"
REL="NEXT"
TITLE="Sample Code"
TITLE="Sample Code"
HREF="net-common-sample-code.html"></HEAD
HREF="net-common-sample-code.html"></HEAD
><BODY
><BODY
CLASS="CHAPTER"
CLASS="CHAPTER"
BGCOLOR="#FFFFFF"
BGCOLOR="#FFFFFF"
TEXT="#000000"
TEXT="#000000"
LINK="#0000FF"
LINK="#0000FF"
VLINK="#840084"
VLINK="#840084"
ALINK="#0000FF"
ALINK="#0000FF"
><DIV
><DIV
CLASS="NAVHEADER"
CLASS="NAVHEADER"
><TABLE
><TABLE
SUMMARY="Header navigation table"
SUMMARY="Header navigation table"
WIDTH="100%"
WIDTH="100%"
BORDER="0"
BORDER="0"
CELLPADDING="0"
CELLPADDING="0"
CELLSPACING="0"
CELLSPACING="0"
><TR
><TR
><TH
><TH
COLSPAN="3"
COLSPAN="3"
ALIGN="center"
ALIGN="center"
>eCos Reference Manual</TH
>eCos Reference Manual</TH
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="10%"
WIDTH="10%"
ALIGN="left"
ALIGN="left"
VALIGN="bottom"
VALIGN="bottom"
><A
><A
HREF="net-common-tcpip.html"
HREF="net-common-tcpip.html"
ACCESSKEY="P"
ACCESSKEY="P"
>Prev</A
>Prev</A
></TD
></TD
><TD
><TD
WIDTH="80%"
WIDTH="80%"
ALIGN="center"
ALIGN="center"
VALIGN="bottom"
VALIGN="bottom"
></TD
></TD
><TD
><TD
WIDTH="10%"
WIDTH="10%"
ALIGN="right"
ALIGN="right"
VALIGN="bottom"
VALIGN="bottom"
><A
><A
HREF="net-common-sample-code.html"
HREF="net-common-sample-code.html"
ACCESSKEY="N"
ACCESSKEY="N"
>Next</A
>Next</A
></TD
></TD
></TR
></TR
></TABLE
></TABLE
><HR
><HR
ALIGN="LEFT"
ALIGN="LEFT"
WIDTH="100%"></DIV
WIDTH="100%"></DIV
><DIV
><DIV
CLASS="CHAPTER"
CLASS="CHAPTER"
><H1
><H1
><A
><A
NAME="NET-COMMON-ETHERNET-DRIVER-DESIGN">Chapter 33. Ethernet Driver Design</H1
NAME="NET-COMMON-ETHERNET-DRIVER-DESIGN">Chapter 33. Ethernet Driver Design</H1
><P
><P
>Currently, the networking stack only supports ethernet based
>Currently, the networking stack only supports ethernet based
networking. </P
networking. </P
><P
><P
>The network drivers use a two-layer design.  One layer is
>The network drivers use a two-layer design.  One layer is
hardware independent and contains all the stack specific code.
hardware independent and contains all the stack specific code.
The other layer is platform dependent and communicates with the
The other layer is platform dependent and communicates with the
hardware independent layer via a very simple API.  In this way,
hardware independent layer via a very simple API.  In this way,
hardware device drivers can actually be used with other stacks,
hardware device drivers can actually be used with other stacks,
if the same API can be provided by that stack.  We designed the
if the same API can be provided by that stack.  We designed the
drivers this way to encourage the development of other stacks in
drivers this way to encourage the development of other stacks in
eCos while allowing re-use of the actual hardware specific code. </P
eCos while allowing re-use of the actual hardware specific code. </P
><P
><P
>More comprehensive documentation of the ethernet device driver and
>More comprehensive documentation of the ethernet device driver and
the associated API can be found in the generic ethernet device driver
the associated API can be found in the generic ethernet device driver
documentation
documentation
<A
<A
HREF="io-eth-drv-generic.html"
HREF="io-eth-drv-generic.html"
>Part XIV in <I
>Part XIV in <I
>eCos Reference Manual</I
>eCos Reference Manual</I
></A
></A
>
>
The driver and API is the same as the minimal debug stack used by
The driver and API is the same as the minimal debug stack used by
the RedBoot application. See the RedBoot documentation
the RedBoot application. See the RedBoot documentation
<A
<A
HREF="redboot.html"
HREF="redboot.html"
>Part II in <I
>Part II in <I
>eCos Reference Manual</I
>eCos Reference Manual</I
></A
></A
>
>
for further
for further
information.</P
information.</P
></DIV
></DIV
><DIV
><DIV
CLASS="NAVFOOTER"
CLASS="NAVFOOTER"
><HR
><HR
ALIGN="LEFT"
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
SUMMARY="Footer navigation table"
WIDTH="100%"
WIDTH="100%"
BORDER="0"
BORDER="0"
CELLPADDING="0"
CELLPADDING="0"
CELLSPACING="0"
CELLSPACING="0"
><TR
><TR
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="left"
ALIGN="left"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="net-common-tcpip.html"
HREF="net-common-tcpip.html"
ACCESSKEY="P"
ACCESSKEY="P"
>Prev</A
>Prev</A
></TD
></TD
><TD
><TD
WIDTH="34%"
WIDTH="34%"
ALIGN="center"
ALIGN="center"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="ecos-ref.html"
HREF="ecos-ref.html"
ACCESSKEY="H"
ACCESSKEY="H"
>Home</A
>Home</A
></TD
></TD
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="right"
ALIGN="right"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="net-common-sample-code.html"
HREF="net-common-sample-code.html"
ACCESSKEY="N"
ACCESSKEY="N"
>Next</A
>Next</A
></TD
></TD
></TR
></TR
><TR
><TR
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="left"
ALIGN="left"
VALIGN="top"
VALIGN="top"
>TCP/IP Stack Support for eCos</TD
>TCP/IP Stack Support for eCos</TD
><TD
><TD
WIDTH="34%"
WIDTH="34%"
ALIGN="center"
ALIGN="center"
VALIGN="top"
VALIGN="top"
><A
><A
HREF="net-common-tcpip.html"
HREF="net-common-tcpip.html"
ACCESSKEY="U"
ACCESSKEY="U"
>Up</A
>Up</A
></TD
></TD
><TD
><TD
WIDTH="33%"
WIDTH="33%"
ALIGN="right"
ALIGN="right"
VALIGN="top"
VALIGN="top"
>Sample Code</TD
>Sample Code</TD
></TR
></TR
></TABLE
></TABLE
></DIV
></DIV
></BODY
></BODY
></HTML
></HTML
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.