Hello Anthony, Here's another rebased version of $subject. Please review changed bits and apply.
Regards, Andreas v3 -> v4: * Rebased tmp105 onto already-const TypeInfo. * Rebased qtest Makefile additions onto second build reorganization. v2 -> v3: * Alex' tmp105.h patch was applied. * Rebased onto header reorganization. * Rebased onto introduction of gcov support. * Switched order of test case and bugfix to keep make check happy. * Dropped extra white line and renamed int64_t value -> temp to make patch smaller. v1 -> v2: * Factor out libqos API for I2C and an OMAP driver * Avoid casts by using uint8_t* in API, suggested by Blue * Ignore SBD bit in omap_i2c driver * Drop omap_i2c patch clearing SBD * Incorporate Alex' tmp105.h patch * Split out tmp105_regs.h for qtest, inspired by rtc-test * Append replacement for Alex' fix * Append QOM cleanup and turn setter function into QOM property Cc: Anthony Liguori <anth...@codemonkey.ws> Cc: Alex Horn <alex.h...@cs.ox.ac.uk> Cc: Andrzej Zaborowski <balr...@gmail.com> Cc: Peter Maydell <peter.mayd...@linaro.org> Andreas Färber (6): libqtest: Prepare I2C libqos tmp105: Split out I2C message constants from header tmp105: Fix I2C protocol bug tests: Add tmp105 qtest test case tmp105: QOM'ify tmp105: Add temperature QOM property hw/tmp105.c | 77 ++++++++++++++---------- hw/tmp105.h | 64 +++++++------------- hw/tmp105_regs.h | 50 ++++++++++++++++ tests/Makefile | 4 ++ tests/libi2c-omap.c | 166 +++++++++++++++++++++++++++++++++++++++++++++++++++ tests/libi2c.c | 22 +++++++ tests/libi2c.h | 30 ++++++++++ tests/tmp105-test.c | 76 +++++++++++++++++++++++ 8 Dateien geändert, 416 Zeilen hinzugefügt(+), 73 Zeilen entfernt(-) create mode 100644 hw/tmp105_regs.h create mode 100644 tests/libi2c-omap.c create mode 100644 tests/libi2c.c create mode 100644 tests/libi2c.h create mode 100644 tests/tmp105-test.c -- 1.7.10.4