From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HnGGP-00011p-MW for qemu-devel@nongnu.org; Sun, 13 May 2007 11:45:37 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HnGGO-00011a-2c for qemu-devel@nongnu.org; Sun, 13 May 2007 11:45:36 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnGGN-00011X-Ve for qemu-devel@nongnu.org; Sun, 13 May 2007 11:45:36 -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 1HnG8i-0005Se-FT for qemu-devel@nongnu.org; Sun, 13 May 2007 11:37:40 -0400 Date: Sun, 13 May 2007 16:32:16 +0100 Subject: Re: [Qemu-devel] I2C/SMBus framework Message-ID: <20070513153216.GC8380@networkno.de> References: <200705121858.37202.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705121858.37202.paul@codesourcery.com> 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: Paul Brook Cc: qemu-devel@nongnu.org Paul Brook wrote: > The attached patch implements an I2C/SMBus framework for qemu. > > It provides an API for connecting emulated I2C devices, and implements SMBus > as a layer on top of that. > > Currently the only i2c device in CVS is the piix eeprom. I've tested this as > much as I can - linux successfully reads the eeprom contents. > I've also used the same framework for several different boards. > > I will apply in a day or so if there are no serious objections. Minor niggle, a new compiler warning: /home/ths/qemu/qemu-work/hw/acpi.c: In function smb_ioport_writeb': /home/ths/qemu/qemu-work/hw/acpi.c:283: warning: 'val' might be used uninitialized in this function aside from that it works well for me. Thiemo