diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-05-18 12:55:27 +0100 |
---|---|---|
committer | Mark McLoughlin <markmc@redhat.com> | 2009-06-09 11:38:49 +0100 |
commit | 463af5349a787160642f023dad10eaf0cb419fb7 (patch) | |
tree | 5e8bb3409816c956e473c9c81ab666038094a45e /hw/stellaris_enet.c | |
parent | 3471b757d0ca63a0e8188c4c96acd1c279a8c737 (diff) | |
download | qemu-463af5349a787160642f023dad10eaf0cb419fb7.zip qemu-463af5349a787160642f023dad10eaf0cb419fb7.tar.gz qemu-463af5349a787160642f023dad10eaf0cb419fb7.tar.bz2 |
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/stellaris_enet.c')
-rw-r--r-- | hw/stellaris_enet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/stellaris_enet.c b/hw/stellaris_enet.c index 36fabd3..8b7df09 100644 --- a/hw/stellaris_enet.c +++ b/hw/stellaris_enet.c @@ -405,8 +405,8 @@ static void stellaris_enet_init(SysBusDevice *dev) qdev_get_macaddr(&dev->qdev, s->macaddr); s->vc = qdev_get_vlan_client(&dev->qdev, - stellaris_enet_receive, stellaris_enet_can_receive, + stellaris_enet_receive, NULL, stellaris_enet_cleanup, s); qemu_format_nic_info_str(s->vc, s->macaddr); |