qemu-e2k/hw/ide
David Gibson 43cf8ae69b Use DMADirection type for dma_bdrv_io
Currently dma_bdrv_io() takes a 'to_dev' boolean parameter to
determine the direction of DMA it is emulating.  We already have a
DMADirection enum designed specifically to encode DMA directions.
This patch uses it for dma_bdrv_io() as well.  This involves removing
the DMADirection definition from the #ifdef it was inside, but since that
only existed to protect the definition of dma_addr_t from places where
config.h is not included, there wasn't any reason for it to be there in
the first place.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2012-04-05 14:54:40 +02:00
..
ahci.c
ahci.h
atapi.c
cmd646.c
core.c Use DMADirection type for dma_bdrv_io 2012-04-05 14:54:40 +02:00
ich.c
internal.h ide: Adds wwn=hex qdev option 2012-04-05 14:54:39 +02:00
isa.c
macio.c Use DMADirection type for dma_bdrv_io 2012-04-05 14:54:40 +02:00
microdrive.c
mmio.c
pci.c
pci.h
piix.c
qdev.c ide: Adds wwn=hex qdev option 2012-04-05 14:54:39 +02:00
via.c