From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HYLta-0003ZD-Tc for qemu-devel@nongnu.org; Mon, 02 Apr 2007 08:44:26 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HYLtZ-0003Yi-If for qemu-devel@nongnu.org; Mon, 02 Apr 2007 08:44:26 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HYLtZ-0003Ya-7B for qemu-devel@nongnu.org; Mon, 02 Apr 2007 08:44:25 -0400 Received: from phoenix.bawue.net ([193.7.176.60] helo=mail.bawue.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HYLqW-0007o3-NY for qemu-devel@nongnu.org; Mon, 02 Apr 2007 08:41:16 -0400 Date: Mon, 2 Apr 2007 13:32:57 +0100 Subject: Re: [Qemu-devel] [patch] More PCI ethernet emulations Message-ID: <20070402123257.GD24846@networkno.de> References: <33328190.1174979798015.JavaMail.root@eastrmwml08.mgt.cox.net> <460AD667.8070608@mail.berlios.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <460AD667.8070608@mail.berlios.de> From: Thiemo Seufer Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: QEMU Developers Stefan Weil wrote: > Good question. I stumbled about this, too, when I looked > at the code how I could apply your patch. Some months > had past since I wrote it :-) > > The code writes to a serial EEPROM, so the 16 bits are > sent using only a clock and a single data bit. The > EEPROM emulation then takes the single bits and puts > them together. > > The function gets a byte which contains clock, data and > two other significant bits, and 4 bits which are always 0. > > When called with a word, only one byte is needed. > Maybe it is the wrong one - if you work with different > endianess. The card is detected on ppc/Linux emulating mipsel/Linux, but no interface is configured. It works on x86/Linux emulating mipsel/Linux. Thiemo