[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PULL 03/17] ftgmac100: do not link to netdev

From: Jason Wang
Subject: [Qemu-devel] [PULL 03/17] ftgmac100: do not link to netdev
Date: Tue, 2 Jul 2019 10:31:15 +0800

From: Cédric Le Goater <address@hidden>

qdev_set_nic_properties() is already used in the Aspeed SoC level to
bind the ftgmac100 device to the netdev.

This is fixing support for multiple net devices.

Signed-off-by: Cédric Le Goater <address@hidden>
Signed-off-by: Jason Wang <address@hidden>
 hw/net/ftgmac100.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/hw/net/ftgmac100.c b/hw/net/ftgmac100.c
index eb76047..d2cded5 100644
--- a/hw/net/ftgmac100.c
+++ b/hw/net/ftgmac100.c
@@ -1017,8 +1017,6 @@ static void ftgmac100_realize(DeviceState *dev, Error 
     sysbus_init_irq(sbd, &s->irq);
-    s->conf.peers.ncs[0] = nd_table[0].netdev;
     s->nic = qemu_new_nic(&net_ftgmac100_info, &s->conf,
                           object_get_typename(OBJECT(dev)), DEVICE(dev)->id,

reply via email to

[Prev in Thread] Current Thread [Next in Thread]