macio: use object link between MACIO_IDE and MAC_DBDMA object
commite451b85f1bf3c8140be51e2b03eb71ab96c246a5
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Sun, 24 Sep 2017 14:47:44 +0000 (24 15:47 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 27 Sep 2017 03:05:41 +0000 (27 13:05 +1000)
tree46ba653d5824aa763d0321c03094177ebd1c9e56
parent0fc84331d631ea434fb846f4916f216aeb5b5f91
macio: use object link between MACIO_IDE and MAC_DBDMA object

Using a standard QOM object link we can pass a reference to the MAC_DBDMA
controller to the MACIO_IDE object which removes the last external parameter
to macio_ide_register_dma().

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ide/macio.c
hw/misc/macio/macio.c
hw/ppc/mac.h