xemu/hw/ide
Mark Cave-Ayland 03c1280bf5 macio: use the existing IDEDMA aiocb to hold the active DMA aiocb
Currently the aiocb is held within MACIOIDEState, however the IDE core code
assumes that the current actvie DMA aiocb is held in aiocb in a few places,
e.g. ide_bus_reset() and ide_reset().

Switch over to using IDEDMA aiocb to store the aiocb for the current active
DMA request so that bus resets and restarts are handled correctly. As a
consequence we can now use ide_set_inactive() rather than handling its
functionality ourselves.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: John Snow <jsnow@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
2016-01-30 23:37:25 +11:00
..
ahci.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
ahci.h ahci: Add allwinner AHCI 2015-11-06 14:09:01 -05:00
atapi.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
cmd646.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
core.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
ich.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
internal.h ide: add support for IDEBufferedRequest 2015-11-17 15:06:25 -05:00
isa.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
macio.c macio: use the existing IDEDMA aiocb to hold the active DMA aiocb 2016-01-30 23:37:25 +11:00
Makefile.objs hw: make all of hw/ide/ configurable via default-configs/ 2013-04-08 18:13:12 +02:00
microdrive.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
mmio.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
pci.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
pci.h ide: place initial state of the current request to IDEBus 2015-03-10 14:02:22 +01:00
piix.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
qdev.c ide: Clean up includes 2016-01-29 15:07:23 +00:00
via.c ide: Clean up includes 2016-01-29 15:07:23 +00:00