static void pcnet_common_init(PCNetState *d, NICInfo *nd)

{

    d->poll_timer = qemu_new_timer(vm_clock, pcnet_poll_timer, d);



    d->nd = nd;



    if (nd && nd->vlan) {

        d->vc = qemu_new_vlan_client(nd->vlan, nd->model, nd->name,

                                     pcnet_receive, pcnet_can_receive, d);



        qemu_format_nic_info_str(d->vc, d->nd->macaddr);

    } else {

        d->vc = NULL;

    }

    pcnet_h_reset(d);

    register_savevm("pcnet", -1, 2, pcnet_save, pcnet_load, d);

}

static void pcnet_common_init(PCNetState *d, NICInfo *nd)

{

    d->poll_timer = qemu_new_timer(vm_clock, pcnet_poll_timer, d);



    d->nd = nd;



    if (nd && nd->vlan) {

        d->vc = qemu_new_vlan_client(nd->vlan, nd->model, nd->name,

                                     pcnet_receive, pcnet_can_receive, d);



        qemu_format_nic_info_str(d->vc, d->nd->macaddr);

    } else {

        d->vc = NULL;

    }

    pcnet_h_reset(d);

    register_savevm("pcnet", -1, 2, pcnet_save, pcnet_load, d);

}

static void pcnet_common_init(PCNetState *d, NICInfo *nd)                                      pcnet_receive, pcnet_can_receive, d);
static void FUNC_0(PCNetState *VAR_0, NICInfo *VAR_1)

{

    VAR_0->poll_timer = qemu_new_timer(vm_clock, pcnet_poll_timer, VAR_0);



    VAR_0->VAR_1 = VAR_1;



    if (VAR_1 && VAR_1->vlan) {

        VAR_0->vc = qemu_new_vlan_client(VAR_1->vlan, VAR_1->model, VAR_1->name,

                                     pcnet_receive, pcnet_can_receive, VAR_0);



        qemu_format_nic_info_str(VAR_0->vc, VAR_0->VAR_1->macaddr);

    } else {

        VAR_0->vc = NULL;

    }

    pcnet_h_reset(VAR_0);

    register_savevm("pcnet", -1, 2, pcnet_save, pcnet_load, VAR_0);

}

static void FUNC_0(PCNetState *VAR_0, NICInfo *VAR_1)
{ VAR_0->poll_timer = qemu_new_timer(vm_clock, pcnet_poll_timer, VAR_0); VAR_0->VAR_1 = VAR_1; if (VAR_1 && VAR_1->vlan) { VAR_0->vc = qemu_new_vlan_client(VAR_1->vlan, VAR_1->model, VAR_1->name,
pcnet_receive, pcnet_can_receive, VAR_0); qemu_format_nic_info_str(VAR_0->vc, VAR_0->VAR_1->macaddr); } else { VAR_0->vc = NULL; } pcnet_h_reset(VAR_0); register_savevm("pcnet", -1, 2, pcnet_save, pcnet_load, VAR_0); }