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/etraxfs_eth.c | |
parent | 3471b757d0ca63a0e8188c4c96acd1c279a8c737 (diff) |
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/etraxfs_eth.c')
-rw-r--r-- | hw/etraxfs_eth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/etraxfs_eth.c b/hw/etraxfs_eth.c index 68b8de38eb..bb612840c1 100644 --- a/hw/etraxfs_eth.c +++ b/hw/etraxfs_eth.c @@ -593,7 +593,7 @@ void *etraxfs_eth_init(NICInfo *nd, CPUState *env, cpu_register_physical_memory (base, 0x5c, eth->ethregs); eth->vc = qemu_new_vlan_client(nd->vlan, nd->model, nd->name, - eth_receive, eth_can_receive, + eth_can_receive, eth_receive, NULL, eth_cleanup, eth); eth->vc->opaque = eth; eth->vc->link_status_changed = eth_set_link; |