Revision bb6e6364 hw/etraxfs_eth.c

b/hw/etraxfs_eth.c
590 590
	eth->ethregs = cpu_register_io_memory(eth_read, eth_write, eth);
591 591
	cpu_register_physical_memory (base, 0x5c, eth->ethregs);
592 592

  
593
	eth->vc = nd->vc = qemu_new_vlan_client(nd->vlan, nd->netdev,
593
	eth->vc = nd->vc = qemu_new_vlan_client(NET_CLIENT_TYPE_NIC,
594
                                                nd->vlan, nd->netdev,
594 595
                                                nd->model, nd->name,
595 596
                                                eth_can_receive, eth_receive,
596 597
                                                NULL, eth_cleanup, eth);

Also available in: Unified diff