[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 5/8] petalogix_ml605_mmu: Fix machine node attach
From: |
Peter Crosthwaite |
Subject: |
[Qemu-devel] [PATCH v2 5/8] petalogix_ml605_mmu: Fix machine node attachment |
Date: |
Mon, 25 Feb 2013 18:50:13 +1000 |
Just attach devices straight to the root machine node, rather than the
"unattached node"
Signed-off-by: Peter Crosthwaite <address@hidden>
---
Suggested (indirectly) by Andreas if he wants to put his Suggested-by to it.
hw/petalogix_ml605_mmu.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/petalogix_ml605_mmu.c b/hw/petalogix_ml605_mmu.c
index 82d7183..98e647d 100644
--- a/hw/petalogix_ml605_mmu.c
+++ b/hw/petalogix_ml605_mmu.c
@@ -134,8 +134,8 @@ petalogix_ml605_init(QEMUMachineInitArgs *args)
dma = qdev_create(NULL, "xlnx.axi-dma");
/* FIXME: attach to the sysbus instead */
- object_property_add_child(container_get(qdev_get_machine(), "/unattached"),
- "xilinx-dma", OBJECT(dma), NULL);
+ object_property_add_child(qdev_get_machine(), "xilinx-dma", OBJECT(dma),
+ NULL);
xilinx_axiethernet_init(eth0, &nd_table[0], STREAM_SLAVE(dma),
0x82780000, irq[3], 0x1000, 0x1000);
--
1.7.0.4
- [Qemu-devel] [PATCH v2 0/8] Stream - Multiple connections for the one device, Peter Crosthwaite, 2013/02/25
- [Qemu-devel] [PATCH v2 1/8] xilinx_axienet: typedef XilinxAXIEnet struct, Peter Crosthwaite, 2013/02/25
- [Qemu-devel] [PATCH v2 2/8] xilinx_axienet: Defined and use type cast macro, Peter Crosthwaite, 2013/02/25
- [Qemu-devel] [PATCH v2 3/8] xilinx_axienet: Register reset properly, Peter Crosthwaite, 2013/02/25
- [Qemu-devel] [PATCH v2 4/8] xilinx_axienet: converted init->realize, Peter Crosthwaite, 2013/02/25
- [Qemu-devel] [PATCH v2 5/8] petalogix_ml605_mmu: Fix machine node attachment,
Peter Crosthwaite <=
- [Qemu-devel] [PATCH v2 6/8] petalogix_ml605_mmu: Attach ethernet to machine, Peter Crosthwaite, 2013/02/25
- [Qemu-devel] [PATCH v2 8/8] xilinx_axienet: stub out second stream connection, Peter Crosthwaite, 2013/02/25
- [Qemu-devel] [PATCH v2 7/8] xilinx_axienet: Create Proxy object for stream, Peter Crosthwaite, 2013/02/25