diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-10-21 15:25:39 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:28:41 -0500 |
commit | 540f006a23085230c12c3cbcbd2bd774be0eb28e (patch) | |
tree | 88ea1ed2a47cf3ccb78784d35c8a83682731d368 /hw/stellaris.c | |
parent | 17d1ae3cec597ac4642d504648203e3caef0fe45 (diff) | |
download | qemu-540f006a23085230c12c3cbcbd2bd774be0eb28e.tar.gz qemu-540f006a23085230c12c3cbcbd2bd774be0eb28e.tar.bz2 qemu-540f006a23085230c12c3cbcbd2bd774be0eb28e.zip |
stellaris_enet: use qdev properties for configuration.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/stellaris.c')
-rw-r--r-- | hw/stellaris.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/stellaris.c b/hw/stellaris.c index 1628914479..44c9eee553 100644 --- a/hw/stellaris.c +++ b/hw/stellaris.c @@ -1383,7 +1383,7 @@ static void stellaris_init(const char *kernel_filename, const char *cpu_model, qemu_check_nic_model(&nd_table[0], "stellaris"); enet = qdev_create(NULL, "stellaris_enet"); - enet->nd = &nd_table[0]; + qdev_set_nic_properties(enet, &nd_table[0]); qdev_init_nofail(enet); sysbus_mmio_map(sysbus_from_qdev(enet), 0, 0x40048000); sysbus_connect_irq(sysbus_from_qdev(enet), 0, pic[42]); |