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/e1000.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/e1000.c')
-rw-r--r-- | hw/e1000.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/e1000.c b/hw/e1000.c index 26657922c5..01ee57f031 100644 --- a/hw/e1000.c +++ b/hw/e1000.c @@ -1106,8 +1106,8 @@ static void pci_e1000_init(PCIDevice *pci_dev) memset(&d->tx, 0, sizeof d->tx); d->vc = qdev_get_vlan_client(&d->dev.qdev, - e1000_receive, e1000_can_receive, - e1000_cleanup, d); + e1000_can_receive, e1000_receive, + NULL, e1000_cleanup, d); d->vc->link_status_changed = e1000_set_link_status; qemu_format_nic_info_str(d->vc, macaddr); |