From: Stefan Weil <weil@mail.berlios.de>
To: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH 2/3] eepro100: Better documentation for temporary data
Date: Sun, 20 Dec 2009 16:52:23 +0100 [thread overview]
Message-ID: <1261324344-10642-2-git-send-email-weil@mail.berlios.de> (raw)
In-Reply-To: <1261324344-10642-1-git-send-email-weil@mail.berlios.de>
Michael S. Tsirkin suggested more documentation for
two temporary status values. Well, here it is.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
hw/eepro100.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/hw/eepro100.c b/hw/eepro100.c
index 5635f61..fb455a4 100644
--- a/hw/eepro100.c
+++ b/hw/eepro100.c
@@ -213,9 +213,10 @@ typedef struct {
uint32_t ru_offset; /* RU address offset */
uint32_t statsaddr; /* pointer to eepro100_stats_t */
- /* Temporary data. */
- eepro100_tx_t tx;
- uint32_t cb_address;
+ /* Temporary status information (no need to save these values),
+ * used while processing CU commands. */
+ eepro100_tx_t tx; /* transmit buffer descriptor */
+ uint32_t cb_address; /* = cu_base + cu_offset */
/* Statistical counters. Also used for wake-up packet (i82559). */
eepro100_stats_t statistics;
--
1.6.5
next prev parent reply other threads:[~2009-12-20 15:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-19 15:08 [Qemu-devel] eepro100.c patches Stefan Weil
2009-12-20 14:51 ` Anthony Liguori
2009-12-20 15:46 ` Stefan Weil
2009-12-20 15:52 ` [Qemu-devel] [PATCH 1/3] eepro100: Restructure code (new function tx_command) Stefan Weil
2009-12-20 15:52 ` Stefan Weil [this message]
2009-12-20 15:52 ` [Qemu-devel] [PATCH 3/3] eepro100: Fix multicast support Stefan Weil
2009-12-20 16:23 ` [Qemu-devel] [PATCH 2/3] eepro100: Better documentation for temporary data Andreas Färber
2009-12-20 18:05 ` Stefan Weil
2010-01-14 11:19 ` [Qemu-devel] Re: [PATCH 1/3] eepro100: Restructure code (new function tx_command) Michael S. Tsirkin
2009-12-20 16:19 ` [Qemu-devel] eepro100.c patches Anthony Liguori
2010-01-05 21:28 ` Stefan Weil
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=1261324344-10642-2-git-send-email-weil@mail.berlios.de \
--to=weil@mail.berlios.de \
--cc=qemu-devel@nongnu.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).