Revision 463af534 hw/ne2000.c
b/hw/ne2000.c | ||
---|---|---|
757 | 757 |
ne2000_reset(s); |
758 | 758 |
|
759 | 759 |
s->vc = qemu_new_vlan_client(nd->vlan, nd->model, nd->name, |
760 |
ne2000_receive, ne2000_can_receive,
|
|
760 |
ne2000_can_receive, ne2000_receive, NULL,
|
|
761 | 761 |
isa_ne2000_cleanup, s); |
762 | 762 |
|
763 | 763 |
qemu_format_nic_info_str(s->vc, s->macaddr); |
... | ... | |
821 | 821 |
qdev_get_macaddr(&d->dev.qdev, s->macaddr); |
822 | 822 |
ne2000_reset(s); |
823 | 823 |
s->vc = qdev_get_vlan_client(&d->dev.qdev, |
824 |
ne2000_receive, ne2000_can_receive,
|
|
824 |
ne2000_can_receive, ne2000_receive, NULL,
|
|
825 | 825 |
ne2000_cleanup, s); |
826 | 826 |
|
827 | 827 |
qemu_format_nic_info_str(s->vc, s->macaddr); |
Also available in: Unified diff