X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=hw%2Fmusicpal.c;h=d172a11861f755bc895933457b56d514845bcfc3;hb=bf38c1a0e1d7ebbe0930d8926dbc499b88a2d7db;hp=c5a5b6f122181b49b3d7472bcacd84c5073efea9;hpb=f7b4a940a430da0e2d48b74e85a8a941c1c2fabc;p=qemu diff --git a/hw/musicpal.c b/hw/musicpal.c index c5a5b6f..d172a11 100644 --- a/hw/musicpal.c +++ b/hw/musicpal.c @@ -718,7 +718,8 @@ static void mv88w8618_eth_init(NICInfo *nd, uint32_t base, qemu_irq irq) if (!s) return; s->irq = irq; - s->vc = qemu_new_vlan_client(nd->vlan, eth_receive, eth_can_receive, s); + s->vc = qemu_new_vlan_client(nd->vlan, nd->model, + eth_receive, eth_can_receive, s); iomemtype = cpu_register_io_memory(0, mv88w8618_eth_readfn, mv88w8618_eth_writefn, s); cpu_register_physical_memory(base, MP_ETH_SIZE, iomemtype);