Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KafGc-0008Tf-B5 for qemu-devel@nongnu.org; Tue, 02 Sep 2008 19:26:34 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KafGb-0008T1-G0 for qemu-devel@nongnu.org; Tue, 02 Sep 2008 19:26:33 -0400 Received: from [199.232.76.173] (port=34110 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KafGb-0008Su-B6 for qemu-devel@nongnu.org; Tue, 02 Sep 2008 19:26:33 -0400 Received: from hall.aurel32.net ([91.121.138.14]:57898) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KafGa-0002fQ-9Y for qemu-devel@nongnu.org; Tue, 02 Sep 2008 19:26:33 -0400 Received: from volta.aurel32.net ([2002:52e8:2fb:1:21e:8cff:feb0:693b]) by hall.aurel32.net with esmtpsa (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1KafGW-0006f0-OR for qemu-devel@nongnu.org; Wed, 03 Sep 2008 01:26:28 +0200 Received: from aurel32 by volta.aurel32.net with local (Exim 4.69) (envelope-from ) id 1KafGV-0000nB-JK for qemu-devel@nongnu.org; Wed, 03 Sep 2008 01:26:27 +0200 Date: Wed, 3 Sep 2008 01:26:27 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [5135] pcnet: add loopback mode emulation Message-ID: <20080902232627.GT4681@volta.aurel32.net> References: <83a4d4ca0809021603y398f931bq424fb68327f731e8@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <83a4d4ca0809021603y398f931bq424fb68327f731e8@mail.gmail.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Wed, Sep 03, 2008 at 01:03:18AM +0200, Eduardo Felipe wrote: > 2008/9/2 Aurelien Jarno : > > Revision: 5135 > > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5135 > > Author: aurel32 > > Date: 2008-09-02 16:18:46 +0000 (Tue, 02 Sep 2008) > > > > Log Message: > > ----------- > > pcnet: add loopback mode emulation > > > > This patch enhances the pcnet NIC emulation with better loopback mode > > support, including CRC generation for looped-back packets in "raw" mode. > > The patch has practically no impact on the normal RX and TX path. > > > > Successfully tested against an ancient proprietary pcnet driver that > > does a lot of hardware checks on boot-up and now works fine over qemu as > > well. > > > > Signed-off-by: Jan Kiszka > > Signed-off-by: Aurelien Jarno > > > > Modified Paths: > > -------------- > > trunk/hw/pcnet.c > > > > Hi, > > Windows compile fix. Applied, thanks. > > Regards, > Edu > > > --- hw/pcnet.c > +++ hw/pcnet.c > @@ -35,7 +35,11 @@ > * http://www.ibiblio.org/pub/historic-linux/early-ports/Sparc/NCR/NCR92C990.txt > */ > > +#ifdef _WIN32 > +#include > +#else > #include > +#endif > > #include "hw.h" > #include "pci.h" > > > -- .''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' aurel32@debian.org | aurelien@aurel32.net `- people.debian.org/~aurel32 | www.aurel32.net