[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [5135] pcnet: add loopback mode emulation
From: |
Aurelien Jarno |
Subject: |
Re: [Qemu-devel] [5135] pcnet: add loopback mode emulation |
Date: |
Wed, 3 Sep 2008 01:26:27 +0200 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
On Wed, Sep 03, 2008 at 01:03:18AM +0200, Eduardo Felipe wrote:
> 2008/9/2 Aurelien Jarno <address@hidden>:
> > 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 <address@hidden>
> > Signed-off-by: Aurelien Jarno <address@hidden>
> >
> > 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 <winsock2.h>
> +#else
> #include <netinet/in.h>
> +#endif
>
> #include "hw.h"
> #include "pci.h"
>
>
>
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' address@hidden | address@hidden
`- people.debian.org/~aurel32 | www.aurel32.net