]> git.dujemihanovic.xyz Git - u-boot.git/commit
Introduce new eth_receive routine
authorRafal Jaworowski <raj@semihalf.com>
Thu, 27 Dec 2007 17:19:02 +0000 (18:19 +0100)
committerBen Warren <biggerbadderben@gmail.com>
Fri, 4 Jan 2008 02:36:50 +0000 (21:36 -0500)
commitf85b60710571b37293d2233933b76e2aa3db5635
treeab517f6280b1d126b0f9dfe53a5496623d63a26f
parent5c740711f0ea5b51414b341b71597c4a0751be74
Introduce new eth_receive routine

The purpose of this routine is receiving a single network frame, outside of
U-Boot's NetLoop(). Exporting it to standalone programs that run on top of
U-Boot will let them utilise networking facilities. For sending a raw frame
the already existing eth_send() can be used.

The direct consumer of this routine is the newly introduced API layer for
external applications (enabled with CONFIG_API).

Signed-off-by: Rafal Jaworowski <raj@semihalf.com>
Signed-off-by: Piotr Kruszynski <ppk@semihalf.com>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
include/net.h
net/eth.c
net/net.c