qemu/hw/ide
David Gibson 10ca2943aa ide/ahci: Use universal DMA helper functions
The AHCI device can provide both PCI and SysBus AHCI device
emulations.  For this reason, it wasn't previously converted to use
the pci_dma_*() helper functions.  Now that we have universal DMA
helper functions, this converts AHCI to use them.

The DMAContext is obtained from pci_dma_context() in the PCI case and
set to NULL in the SysBus case (i.e. we assume for now that a SysBus
AHCI has no IOMMU translation).

Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2012-06-27 16:33:25 -05:00
..
ahci.c ide/ahci: Use universal DMA helper functions 2012-06-27 16:33:25 -05:00
ahci.h ide/ahci: Use universal DMA helper functions 2012-06-27 16:33:25 -05:00
atapi.c block: Don't call bdrv_eject() if the tray state didn't change 2012-02-22 17:23:21 -02:00
cmd646.c Add missing const attributes for MemoryRegionOps 2012-03-11 11:40:15 +00:00
core.c Allow machines to configure the QEMU_VERSION that's exposed via hardware 2012-06-19 13:36:56 -05:00
ich.c ide/ahci: Use universal DMA helper functions 2012-06-27 16:33:25 -05:00
internal.h qdev: Convert busses to QEMU Object Model 2012-06-18 15:14:38 +02:00
isa.c qom: Unify type registration 2012-02-15 09:39:21 -06:00
macio.c iommu: Make sglists and dma_bdrv helpers use new universal DMA helpers 2012-06-27 16:33:25 -05:00
Makefile.objs build: convert libhw to nested Makefile.objs 2012-06-07 09:21:17 +02:00
microdrive.c hw: Trim superfluous #include "block_int.h" 2011-09-12 15:17:21 +02:00
mmio.c ide/mmio: convert to memory API 2011-11-24 18:31:59 +02:00
pci.c ide: fix compilation errors when DEBUG_IDE is set 2012-02-10 10:44:52 +00:00
pci.h ide: convert to memory API 2011-08-08 10:15:54 -05:00
piix.c Un-inline fdctrl_init_isa() 2012-06-15 14:03:42 +02:00
qdev.c qdev: Convert busses to QEMU Object Model 2012-06-18 15:14:38 +02:00
via.c Add missing const attributes for MemoryRegionOps 2012-03-11 11:40:15 +00:00