[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [patch] More PCI ethernet emulations
From: |
Ben Taylor |
Subject: |
Re: [Qemu-devel] [patch] More PCI ethernet emulations |
Date: |
Tue, 27 Mar 2007 3:16:38 -0400 |
---- Stefan Weil <address@hidden> wrote:
> Hi,
>
> File eepro100.tar.bz2 (added to this mail) contains everything
> needed to add 3 new PCI network device (all similar to EEPRO100):
>
> eepro100.patch:
> Makefile.target:
> added two binaries needed for EEPRO100
> split entries for PCI network devices (1 line / entry, better
> merging with CVS)
> vl.h:
> added prototypes for EEPRO100
> hw/pci.c:
> added new PCI network models: i82551, i82557b, i82559er
>
> hw/eepro100.c:
> EEPRO100 PCI network emulation
>
> hw/eeprom93xx.c, hw/eeprom93xx.h:
> EEPROM emulation, needed for EEPRO100 (and others)
>
> I just finished running these tests using a PC host running Debian GNU
> Linux:
>
> * compilation for all QEMU target architectures: ok
> * cross compilation (Windows) for all QEMU target architectures: ok
> * functional test: ok
>
> The last test was started like this:
>
> i386-softmmu/qemu -L pc-bios --net nic,model=i82559er --net tap /dev/hda
> --snapshot
>
> Networking was tested using ping and ssh connection from emulated system
> to host.
>
> I did not apply your patch, because I cannot test it (it needs a system with
> different endianess). Your feedback is welcome
>
I have a question. in eepro100_write2, I see a word (16-bits) being
passed in, but only the low part of the word gets written to the eeprom.
Since it's a word write, shouldn't it be writing both bytes to the eeprom?
Ben