xilinx_axienet: Create Proxy object for stream
commit55b3e0c2f8fb7ef6d7929de23f3ae2a3d805ebff
authorPeter Crosthwaite <peter.crosthwaite@xilinx.com>
Tue, 16 Apr 2013 00:25:18 +0000 (16 10:25 +1000)
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>
Tue, 16 Apr 2013 08:04:22 +0000 (16 10:04 +0200)
treedd78aaa0375d41451b2a6b01a882016d4ce7a0f3
parentb19ceaad0dee6bca619ba2de19003b50e1a8cb01
xilinx_axienet: Create Proxy object for stream

Create a separate child object to proxy the stream slave connection. This is
setup for future work where a second stream slave connection is needed. The
new child object is created at qdev init time and is linked back to the parent
(the ethernet device itself) automatically.

Stream slave masters differentiate which slave connection they are connected to
by linking to the proxy object rather than the parent.

Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
hw/microblaze/petalogix_ml605_mmu.c
hw/net/xilinx_axienet.c