From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NK7C8-0008EP-Pi for qemu-devel@nongnu.org; Mon, 14 Dec 2009 04:26:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NK7C4-0008Cq-4N for qemu-devel@nongnu.org; Mon, 14 Dec 2009 04:26:20 -0500 Received: from [199.232.76.173] (port=35522 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NK7C4-0008Cn-1g for qemu-devel@nongnu.org; Mon, 14 Dec 2009 04:26:16 -0500 Received: from moutng.kundenserver.de ([212.227.126.171]:57222) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NK7C3-0006PJ-JM for qemu-devel@nongnu.org; Mon, 14 Dec 2009 04:26:16 -0500 From: Stefan Weil Date: Mon, 14 Dec 2009 10:25:34 +0100 Message-Id: <1260782734-11399-1-git-send-email-weil@mail.berlios.de> In-Reply-To: <20091213213637.GA25879@redhat.com> References: <20091213213637.GA25879@redhat.com> Subject: [Qemu-devel] [PATCH] eepro100: Better documentation for temporary data List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers , aliguori@us.ibm.com, mst@redhat.com Michael S. Tsirkin suggested more documentation for two temporary status values. Well, here it is. Signed-off-by: Stefan Weil --- hw/eepro100.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hw/eepro100.c b/hw/eepro100.c index 22e5bed..5a77409 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