From 70783b9c9be31e98421f17327a1127021abae672 Mon Sep 17 00:00:00 2001 From: Mark McLoughlin Date: Thu, 22 Oct 2009 17:43:42 +0100 Subject: net: add receive_raw parameter to qemu_new_vlan_client() Trivial patch to allow supplying a receive_raw function. A future cleanup should combine this function pointer parameters into a table. Signed-off-by: Mark McLoughlin Signed-off-by: Anthony Liguori --- hw/dp8393x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/dp8393x.c') diff --git a/hw/dp8393x.c b/hw/dp8393x.c index 5622170a08..ae8b16e310 100644 --- a/hw/dp8393x.c +++ b/hw/dp8393x.c @@ -892,7 +892,7 @@ void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift, s->vc = nd->vc = qemu_new_vlan_client(NET_CLIENT_TYPE_NIC, nd->vlan, nd->netdev, nd->model, nd->name, - nic_can_receive, nic_receive, NULL, + nic_can_receive, nic_receive, NULL, NULL, nic_cleanup, s); qemu_format_nic_info_str(s->vc, nd->macaddr); -- cgit v1.2.3