qemu-e2k/hw/ide
Damien Hedde f703a04ce5 add device_legacy_reset function to prepare for reset api change
Provide a temporary device_legacy_reset function doing what
device_reset does to prepare for the transition with Resettable
API.

All occurrence of device_reset in the code tree are also replaced
by device_legacy_reset.

The new resettable API has different prototype and semantics
(resetting child buses as well as the specified device). Subsequent
commits will make the changeover for each call site individually; once
that is complete device_legacy_reset() will be removed.

Signed-off-by: Damien Hedde <damien.hedde@greensocs.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20200123132823.1117486-2-damien.hedde@greensocs.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2020-01-30 16:02:03 +00:00
..
ahci_internal.h ide: Include hw/ide/internal a bit less outside hw/ide/ 2019-08-16 13:31:52 +02:00
ahci-allwinner.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
ahci.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
atapi.c hw/ide/atapi: Use the ldst API 2019-08-16 19:14:04 -04:00
cmd646.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
core.c ide: Fix incorrect handling of some PRDTs in ide_dma_cb() 2020-01-27 17:07:31 -05:00
ich.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
ioport.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
isa.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
Kconfig
macio.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
Makefile.objs
microdrive.c add device_legacy_reset function to prepare for reset api change 2020-01-30 16:02:03 +00:00
mmio.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
pci.c Include hw/hw.h exactly where needed 2019-08-16 13:31:52 +02:00
piix.c vmstate: replace DeviceState with VMStateIf 2020-01-06 18:41:32 +04:00
qdev.c qdev: set properties with device_class_set_props() 2020-01-24 20:59:15 +01:00
sii3112.c hw/ide/sii3112: Convert reset handler to DeviceReset 2019-10-15 18:18:08 -03:00
trace-events
via.c vmstate: replace DeviceState with VMStateIf 2020-01-06 18:41:32 +04:00