qemu-e2k/include/hw
Corey Minyard d307c28ca9 i2c: Allow I2C devices to NAK start events
Add a return value to the event handler.  Some I2C devices will
NAK if they have no data, so allow them to do this.  This required
the following changes:

Go through all the event handlers and change them to return int
and return 0.

Modify i2c_start_transfer to terminate the transaction on a NAK.

Modify smbus handing to not assert if a NAK occurs on a second
operation, and terminate the transaction and return -1 instead.

Add some information on semantics to I2CSlaveClass.

Signed-off-by: Corey Minyard <cminyard@mvista.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2017-01-09 11:40:20 +00:00
..
acpi acpi: fix DMAR device scope for IOAPIC 2016-11-15 17:20:36 +02:00
adc
arm aspeed: add a memory region for SRAM 2016-12-27 14:59:27 +00:00
audio
block
char char: use qemu_chr_fe* functions with CharBackend argument 2016-10-24 15:27:21 +02:00
core
cpu
cris
display
dma
gpio
i2c i2c: Allow I2C devices to NAK start events 2017-01-09 11:40:20 +00:00
i386 kvmclock: reduce kvmclock difference on migration 2016-12-22 16:00:56 +01:00
ide
input
intc * Thread Sanitizer fixes (Alex) 2016-10-10 10:39:29 +01:00
ipack
ipmi
isa
kvm
lm32
m68k Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
mem nvdimm acpi: rename nvdimm_acpi_hotplug 2016-11-15 17:20:37 +02:00
mips Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
misc aspeed: add the definitions for the AST2400 A1 SoC 2016-12-27 14:59:28 +00:00
net
nvram nvram: Rename openbios_firmware_abi.h into sun_nvram.h 2016-10-28 09:36:58 +11:00
pci
pci-host spapr: Fix 2.7<->2.8 migration of PCI host bridge 2016-11-23 12:00:48 +11:00
ppc Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
s390x
scsi
sd
sh4 Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
smbios
sparc
ssi aspeed: move the flash module mapping address under the controller definition 2016-10-17 19:22:16 +01:00
timer arm_mptimer: Convert to use ptimer 2016-10-24 16:26:53 +01:00
tricore
unicore32
usb
vfio vfio: Pass an error object to vfio_get_device 2016-10-17 10:58:00 -06:00
virtio virtio-gpu: track and limit host memory allocations 2016-12-20 14:19:08 +01:00
watchdog
xen xen: create qdev for each backend device 2016-11-22 10:29:39 -08:00
boards.h cpu: Support a target CPU having a variable page size 2016-10-24 16:26:49 +01:00
bt.h
compat.h hw/arm/virt: add 2.9 machine type 2016-12-27 14:59:26 +00:00
devices.h
elf_ops.h
empty_slot.h
fw-path-provider.h
hotplug.h qdev: hotplug: drop HotplugHandler.post_plug callback 2016-11-15 17:20:37 +02:00
hw.h
ide.h
irq.h
loader.h loader: fix handling of custom address spaces when adding ROM blobs 2016-11-30 04:20:57 +02:00
nmi.h
or-irq.h
pcmcia.h
platform-bus.h
ptimer.h hw/ptimer: Add "no counter round down" policy 2016-10-24 16:26:52 +01:00
qdev-core.h
qdev-dma.h
qdev-properties.h char: replace PROP_CHR with CharBackend 2016-10-24 15:27:20 +02:00
qdev.h
register.h
stream.h
sysbus.h
usb.h