diff options
Diffstat (limited to 'hw/mcf_fec.c')
-rw-r--r-- | hw/mcf_fec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/mcf_fec.c b/hw/mcf_fec.c index 0049860da3..7e3afa5770 100644 --- a/hw/mcf_fec.c +++ b/hw/mcf_fec.c @@ -452,7 +452,7 @@ void mcf_fec_init(NICInfo *nd, target_phys_addr_t base, qemu_irq *irq) mcf_fec_writefn, s); cpu_register_physical_memory(base, 0x400, iomemtype); - s->vc = qemu_new_vlan_client(nd->vlan, mcf_fec_receive, - mcf_fec_can_receive, s); + s->vc = qemu_new_vlan_client(nd->vlan, nd->model, + mcf_fec_receive, mcf_fec_can_receive, s); memcpy(s->macaddr, nd->macaddr, 6); } |