Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NMOZo-0001qb-0c for qemu-devel@nongnu.org; Sun, 20 Dec 2009 11:24:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NMOZj-0001mm-Jw for qemu-devel@nongnu.org; Sun, 20 Dec 2009 11:24:11 -0500 Received: from [199.232.76.173] (port=42412 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NMOZj-0001mZ-8L for qemu-devel@nongnu.org; Sun, 20 Dec 2009 11:24:07 -0500 Received: from fmmailgate01.web.de ([217.72.192.221]:35233) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NMOZj-0001aE-1F for qemu-devel@nongnu.org; Sun, 20 Dec 2009 11:24:07 -0500 Message-Id: <4C604D4F-0C64-48C5-894E-450FE42304C7@web.de> From: =?ISO-8859-1?Q?Andreas_F=E4rber?= In-Reply-To: <1261324344-10642-2-git-send-email-weil@mail.berlios.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: [Qemu-devel] [PATCH 2/3] eepro100: Better documentation for temporary data Date: Sun, 20 Dec 2009 17:23:43 +0100 References: <4B2E46C8.2020002@mail.berlios.de> <1261324344-10642-1-git-send-email-weil@mail.berlios.de> <1261324344-10642-2-git-send-email-weil@mail.berlios.de> Sender: andreas.faerber@web.de List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: QEMU Developers Hello, Am 20.12.2009 um 16:52 schrieb Stefan Weil: > 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 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; Since you just introduced this in patch 1/3, please add the verbose documentation to the patch introducing these variables. Andreas > + /* 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 > > >