Add a model string to VLANClientState (Mark McLoughlin)
[qemu] / hw / etraxfs_eth.c
index cf55161..539ec6d 100644 (file)
@@ -572,7 +572,7 @@ void *etraxfs_eth_init(NICInfo *nd, CPUState *env,
        eth->ethregs = cpu_register_io_memory(0, eth_read, eth_write, eth);
        cpu_register_physical_memory (base, 0x5c, eth->ethregs);
 
-       eth->vc = qemu_new_vlan_client(nd->vlan, 
+       eth->vc = qemu_new_vlan_client(nd->vlan, nd->model,
                                       eth_receive, eth_can_receive, eth);
 
        return dma;