Revision ae50b274 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 = qemu_new_vlan_client(nd->vlan, nd->model, nd->name, |
|
594 |
eth_can_receive, eth_receive, NULL,
|
|
595 |
eth_cleanup, eth);
|
|
593 |
eth->vc = nd->vc = qemu_new_vlan_client(nd->vlan, nd->model, nd->name,
|
|
594 |
eth_can_receive, eth_receive,
|
|
595 |
NULL, eth_cleanup, eth);
|
|
596 | 596 |
eth->vc->opaque = eth; |
597 | 597 |
eth->vc->link_status_changed = eth_set_link; |
598 | 598 |
|
Also available in: Unified diff