From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HW5xe-0000Bb-Jn for qemu-devel@nongnu.org; Tue, 27 Mar 2007 03:19:18 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HW5xZ-0008VY-Qj for qemu-devel@nongnu.org; Tue, 27 Mar 2007 03:19:18 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HW5xZ-0008VM-LT for qemu-devel@nongnu.org; Tue, 27 Mar 2007 02:19:13 -0500 Received: from eastrmmtao103.cox.net ([68.230.240.9]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HW5vE-0003an-7a for qemu-devel@nongnu.org; Tue, 27 Mar 2007 03:16:48 -0400 Message-ID: <33328190.1174979798015.JavaMail.root@eastrmwml08.mgt.cox.net> Date: Tue, 27 Mar 2007 3:16:38 -0400 From: Ben Taylor Subject: Re: [Qemu-devel] [patch] More PCI ethernet emulations MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Reply-To: sol10x86@cox.net, 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 ---- Stefan Weil 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