static void mv88w8618_eth_init(NICInfo *nd, uint32_t base, qemu_irq irq)

{

    mv88w8618_eth_state *s;

    int iomemtype;



    qemu_check_nic_model(nd, "mv88w8618");



    s = qemu_mallocz(sizeof(mv88w8618_eth_state));

    s->irq = irq;

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

                                 eth_receive, eth_can_receive, s);

    iomemtype = cpu_register_io_memory(0, mv88w8618_eth_readfn,

                                       mv88w8618_eth_writefn, s);

    cpu_register_physical_memory(base, MP_ETH_SIZE, iomemtype);

}

static void mv88w8618_eth_init(NICInfo *nd, uint32_t base, qemu_irq irq)

{

    mv88w8618_eth_state *s;

    int iomemtype;



    qemu_check_nic_model(nd, "mv88w8618");



    s = qemu_mallocz(sizeof(mv88w8618_eth_state));

    s->irq = irq;

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

                                 eth_receive, eth_can_receive, s);

    iomemtype = cpu_register_io_memory(0, mv88w8618_eth_readfn,

                                       mv88w8618_eth_writefn, s);

    cpu_register_physical_memory(base, MP_ETH_SIZE, iomemtype);

}

    int iomemtype;     int iomemtype;                                  eth_receive, eth_can_receive, s);     iomemtype = cpu_register_io_memory(0, mv88w8618_eth_readfn,                                        mv88w8618_eth_writefn, s);     cpu_register_physical_memory(base, MP_ETH_SIZE, iomemtype);     int iomemtype;     int iomemtype;
static void FUNC_0(NICInfo *VAR_0, uint32_t VAR_1, qemu_irq VAR_2)

{

    mv88w8618_eth_state *s;

    int VAR_3;



    qemu_check_nic_model(VAR_0, "mv88w8618");



    s = qemu_mallocz(sizeof(mv88w8618_eth_state));

    s->VAR_2 = VAR_2;

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

                                 eth_receive, eth_can_receive, s);

    VAR_3 = cpu_register_io_memory(0, mv88w8618_eth_readfn,

                                       mv88w8618_eth_writefn, s);

    cpu_register_physical_memory(VAR_1, MP_ETH_SIZE, VAR_3);

}

static void FUNC_0(NICInfo *VAR_0, uint32_t VAR_1, qemu_irq VAR_2)
{ mv88w8618_eth_state *s; int VAR_3; qemu_check_nic_model(VAR_0, "mv88w8618"); s = qemu_mallocz(sizeof(mv88w8618_eth_state)); s->VAR_2 = VAR_2; s->vc = qemu_new_vlan_client(VAR_0->vlan, VAR_0->model, VAR_0->name,
eth_receive, eth_can_receive, s); VAR_3 = cpu_register_io_memory(0, mv88w8618_eth_readfn,
mv88w8618_eth_writefn, s); cpu_register_physical_memory(VAR_1, MP_ETH_SIZE, VAR_3); }