aboutsummaryrefslogtreecommitdiff
path: root/hw/ide
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2018-08-29 17:59:07 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2018-08-30 10:42:18 +1000
commit5c8e3d17eda655ee7644a41cc0df646c7280ab2f (patch)
tree354ce4069e3c567908594ec042b44a8e578b4c4b /hw/ide
parentbf31c56f096ae11367c6ba19a47387d008791996 (diff)
downloadqemu-5c8e3d17eda655ee7644a41cc0df646c7280ab2f.zip
qemu-5c8e3d17eda655ee7644a41cc0df646c7280ab2f.tar.gz
qemu-5c8e3d17eda655ee7644a41cc0df646c7280ab2f.tar.bz2
macio: add addr property to macio IDE object
This contains the offset of the IDE controller within the macio address space and is required to allow the address to be included within the fw path. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ide')
-rw-r--r--hw/ide/macio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/ide/macio.c b/hw/ide/macio.c
index f23961e..bab8c45 100644
--- a/hw/ide/macio.c
+++ b/hw/ide/macio.c
@@ -461,6 +461,7 @@ static void macio_ide_initfn(Object *obj)
static Property macio_ide_properties[] = {
DEFINE_PROP_UINT32("channel", MACIOIDEState, channel, 0),
+ DEFINE_PROP_UINT32("addr", MACIOIDEState, addr, -1),
DEFINE_PROP_END_OF_LIST(),
};