petalogix_ml605_mmu: Attach ethernet to machine
commitb19ceaad0dee6bca619ba2de19003b50e1a8cb01
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 16 Apr 2013 00:24:39 +0000 (16 10:24 +1000)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Tue, 16 Apr 2013 08:04:22 +0000 (16 10:04 +0200)
tree7eb32568c85e0ae7d0a4ce38e2cf332be07abf56
parent54ff2a399fc9453fa75f9223d7d2cd912f17fb4b
petalogix_ml605_mmu: Attach ethernet to machine

Explicitly make the ethernet a child of the machine. This is needed to set
and use links pre-realize. Also makes the ethernet initialization consistent
with its peer DMA.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Reviewed-by: Andreas Färber <afaerber@suse.de>
Acked-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/microblaze/petalogix_ml605_mmu.c