summaryrefslogtreecommitdiffstats
path: root/hw/smc91c111.c
diff options
context:
space:
mode:
authorMark McLoughlin2009-05-18 13:55:27 +0200
committerMark McLoughlin2009-06-09 12:38:49 +0200
commit463af5349a787160642f023dad10eaf0cb419fb7 (patch)
tree5e8bb3409816c956e473c9c81ab666038094a45e /hw/smc91c111.c
parentnet: only read from tapfd when we can send (diff)
downloadqemu-463af5349a787160642f023dad10eaf0cb419fb7.tar.gz
qemu-463af5349a787160642f023dad10eaf0cb419fb7.tar.xz
qemu-463af5349a787160642f023dad10eaf0cb419fb7.zip
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/smc91c111.c')
-rw-r--r--hw/smc91c111.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/smc91c111.c b/hw/smc91c111.c
index 38cbd016e9..b20d535ee1 100644
--- a/hw/smc91c111.c
+++ b/hw/smc91c111.c
@@ -711,7 +711,7 @@ static void smc91c111_init1(SysBusDevice *dev)
smc91c111_reset(s);
s->vc = qdev_get_vlan_client(&dev->qdev,
- smc91c111_receive, smc91c111_can_receive,
+ smc91c111_can_receive, smc91c111_receive, NULL,
smc91c111_cleanup, s);
qemu_format_nic_info_str(s->vc, s->macaddr);
/* ??? Save/restore. */