Re: [Qemu-devel] [PATCH 2/2] hw/net: QOM'ify etraxfs_eth.c

2017-01-03 Thread Edgar E. Iglesias
On Sun, Oct 23, 2016 at 03:06:53PM +0800, xiaoqiang zhao wrote: > * Split the old SysBus init into an instance_init and a > DeviceClass::realize function > * Drop the old SysBus init function and use instance_init some of tdk_init should probably go into a reset function but I think that should

[Qemu-devel] [PATCH 2/2] hw/net: QOM'ify etraxfs_eth.c

2016-10-23 Thread xiaoqiang zhao
* Split the old SysBus init into an instance_init and a DeviceClass::realize function * Drop the old SysBus init function and use instance_init Signed-off-by: xiaoqiang zhao --- hw/net/etraxfs_eth.c | 34 +++--- 1 file changed, 19 insertions(+), 15 deletions(-) dif