Revision bf38c1a0 hw/rtl8139.c
b/hw/rtl8139.c | ||
---|---|---|
3438 | 3438 |
s->pci_dev = (PCIDevice *)d; |
3439 | 3439 |
memcpy(s->macaddr, nd->macaddr, 6); |
3440 | 3440 |
rtl8139_reset(s); |
3441 |
s->vc = qemu_new_vlan_client(nd->vlan, rtl8139_receive,
|
|
3442 |
rtl8139_can_receive, s); |
|
3441 |
s->vc = qemu_new_vlan_client(nd->vlan, nd->model,
|
|
3442 |
rtl8139_receive, rtl8139_can_receive, s);
|
|
3443 | 3443 |
|
3444 | 3444 |
snprintf(s->vc->info_str, sizeof(s->vc->info_str), |
3445 | 3445 |
"rtl8139 pci macaddr=%02x:%02x:%02x:%02x:%02x:%02x", |
Also available in: Unified diff