sparc32_dma: make lance device child of ledma device
commite6ca02a46ae0fafe59544b789e9172efa1a929c1
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sat, 14 Oct 2017 12:22:22 +0000 (14 13:22 +0100)
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Tue, 31 Oct 2017 17:25:36 +0000 (31 17:25 +0000)
tree71fc4e1297f8a3580f964da57dee46fbdfbdc9d9
parent76d28ca7653b69df5e9a4e11b2d15cbe885e5698
sparc32_dma: make lance device child of ledma device

This makes it possible to reference the lance device from the ledma device as
required.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Artyom Tarasenko <atar4qemu@gmail.com>
Acked-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
hw/dma/sparc32_dma.c
hw/sparc/sun4m.c
include/hw/sparc/sparc32_dma.h