Revision ae50b274 hw/dp8393x.c
b/hw/dp8393x.c | ||
---|---|---|
890 | 890 |
s->watchdog = qemu_new_timer(vm_clock, dp8393x_watchdog, s); |
891 | 891 |
s->regs[SONIC_SR] = 0x0004; /* only revision recognized by Linux */ |
892 | 892 |
|
893 |
s->vc = qemu_new_vlan_client(nd->vlan, nd->model, nd->name, nic_can_receive, |
|
894 |
nic_receive, NULL, nic_cleanup, s); |
|
893 |
s->vc = nd->vc = qemu_new_vlan_client(nd->vlan, nd->model, nd->name, |
|
894 |
nic_can_receive, nic_receive, NULL, |
|
895 |
nic_cleanup, s); |
|
895 | 896 |
|
896 | 897 |
qemu_format_nic_info_str(s->vc, nd->macaddr); |
897 | 898 |
qemu_register_reset(nic_reset, s); |
Also available in: Unified diff