From: Ben Warren <biggerbadderben@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] What is NetState?
Date: Thu, 04 Dec 2008 00:00:05 -0800 [thread overview]
Message-ID: <49378E05.4090201@gmail.com> (raw)
In-Reply-To: <4936F383.8030300@freescale.com>
Timur Tabi wrote:
> Is there any documentation for this global variable? I'm trying to fix a bug in
> NetStartAgain(), and I'm trying to understand the purpose of this variable.
>
>
Isn't the code self-documenting? :) This global lets any of the
protocol processing routines force a restart or abort. Not very pretty,
that's for sure... All of the action takes place in the call to
eth_rx(), which calls a network driver's 'recv()' function, which
generally calls NetReceive(), which then switches on protocol and may
set NetState. Good thing we're single threaded.
regards,
Ben
prev parent reply other threads:[~2008-12-04 8:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-03 21:00 [U-Boot] What is NetState? Timur Tabi
2008-12-04 8:00 ` Ben Warren [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49378E05.4090201@gmail.com \
--to=biggerbadderben@gmail.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.