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