summaryrefslogtreecommitdiff
path: root/hw/dp8393x.c
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2009-05-18 12:55:27 +0100
committerMark McLoughlin <markmc@redhat.com>2009-06-09 11:38:49 +0100
commit463af5349a787160642f023dad10eaf0cb419fb7 (patch)
tree5e8bb3409816c956e473c9c81ab666038094a45e /hw/dp8393x.c
parent3471b757d0ca63a0e8188c4c96acd1c279a8c737 (diff)
downloadqemu-463af5349a787160642f023dad10eaf0cb419fb7.tar.gz
net: add fd_readv() handler to qemu_new_vlan_client() args
This, apparently, is the style we prefer - all VLANClientState should be an argument to qemu_new_vlan_client(). Signed-off-by: Mark McLoughlin <markmc@redhat.com>
Diffstat (limited to 'hw/dp8393x.c')
-rw-r--r--hw/dp8393x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/dp8393x.c b/hw/dp8393x.c
index 5aa12119cb..9257167b1f 100644
--- a/hw/dp8393x.c
+++ b/hw/dp8393x.c
@@ -888,8 +888,8 @@ void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift,
s->watchdog = qemu_new_timer(vm_clock, dp8393x_watchdog, s);
s->regs[SONIC_SR] = 0x0004; /* only revision recognized by Linux */
- s->vc = qemu_new_vlan_client(nd->vlan, nd->model, nd->name,
- nic_receive, nic_can_receive, nic_cleanup, s);
+ s->vc = qemu_new_vlan_client(nd->vlan, nd->model, nd->name, nic_can_receive,
+ nic_receive, NULL, nic_cleanup, s);
qemu_format_nic_info_str(s->vc, nd->macaddr);
qemu_register_reset(nic_reset, 0, s);