This patchset aims to tidy-up the sparc32_dma code by improving the
modelling of the espdma/ledma devices using both QOM and the memory
API which didn't exist when the code was first written.

The result is that it is now possible to remove both the iommu_opaque
and is_ledma workarounds from the code.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayl...@ilande.co.uk>

Mark Cave-Ayland (8):
  sparc32_dma: rename SPARC32_DMA type to SPARC32_DMA_DEVICE
  sparc32_dma: split esp and le into separate DMA devices
  sparc32_dma: move type declarations from sparc32_dma.c to
    sparc32_dma.h
  sun4m: move DMA device wiring from sparc32_dma_init() to
    sun4m_hw_init()
  sun4m_iommu: move TYPE_SUN4M_IOMMU declaration to sun4m.h
  sparc32_dma: use object link instead of qdev property to pass IOMMU
    reference
  sparc32_dma: introduce new SPARC32_DMA type container object
  sparc32_dma: remove is_ledma hack and replace with memory region
    alias

 hw/dma/sparc32_dma.c           |  165 ++++++++++++++++++++++++++--------------
 hw/dma/sun4m_iommu.c           |   14 ----
 hw/sparc/sun4m.c               |   40 +++++-----
 include/hw/sparc/sparc32_dma.h |   49 ++++++++++++
 include/hw/sparc/sun4m.h       |   16 ++++
 5 files changed, 194 insertions(+), 90 deletions(-)

-- 
1.7.10.4


Reply via email to