diff options
author | Mark McLoughlin <markmc@redhat.com> | 2009-10-22 17:43:42 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-27 12:29:01 -0500 |
commit | f58b87adc73054f4124ff46d16b454a4b54df380 (patch) | |
tree | 39b7f53aa54d90bea4cf0e7ecf313c57ffc74e19 /hw/mcf_fec.c | |
parent | 2019b1b4ce008cf9247df0624e4247cff4f13521 (diff) | |
download | qemu-f58b87adc73054f4124ff46d16b454a4b54df380.tar.gz qemu-f58b87adc73054f4124ff46d16b454a4b54df380.tar.bz2 qemu-f58b87adc73054f4124ff46d16b454a4b54df380.zip |
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 <markmc@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/mcf_fec.c')
-rw-r--r-- | hw/mcf_fec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/mcf_fec.c b/hw/mcf_fec.c index 0567bcdcd4..9f0d0f4cb3 100644 --- a/hw/mcf_fec.c +++ b/hw/mcf_fec.c @@ -466,7 +466,7 @@ void mcf_fec_init(NICInfo *nd, target_phys_addr_t base, qemu_irq *irq) nd->vlan, nd->netdev, nd->model, nd->name, mcf_fec_can_receive, mcf_fec_receive, - NULL, mcf_fec_cleanup, s); + NULL, NULL, mcf_fec_cleanup, s); memcpy(s->macaddr, nd->macaddr, 6); qemu_format_nic_info_str(s->vc, s->macaddr); } |