summaryrefslogtreecommitdiffstats
path: root/include/hw/i2c
Commit message (Collapse)AuthorAgeFilesLines
* smbus: return -1 if nothing found at the given addressPaolo Bonzini2014-05-071-6/+6
| | | | | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* smbus: allow returning an error from readsPaolo Bonzini2014-05-071-3/+3
| | | | | | | Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* i2c: Drop FROM_I2C_SLAVE() macroAndreas Färber2014-02-141-2/+0
| | | | | | | We now use type-specific QOM cast macros instead. Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
* i2c: Rename i2c_bus to I2CBusAndreas Färber2014-02-143-19/+19
| | | | | Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
* hw: move headers to include/Paolo Bonzini2013-04-083-0/+191
Many of these should be cleaned up with proper qdev-/QOM-ification. Right now there are many catch-all headers in include/hw/ARCH depending on cpu.h, and this makes it necessary to compile these files per-target. However, fixing this does not belong in these patches. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
OpenPOWER on IntegriCloud