e1000_autoneg_timer(void *opaque)

{

    E1000State *s = opaque;

    if (!qemu_get_queue(s->nic)->link_down) {

        e1000_link_up(s);

    }

    s->phy_reg[PHY_STATUS] |= MII_SR_AUTONEG_COMPLETE;

    DBGOUT(PHY, "Auto negotiation is completed\n");

}

e1000_autoneg_timer(void *opaque)

{

    E1000State *s = opaque;

    if (!qemu_get_queue(s->nic)->link_down) {

        e1000_link_up(s);

    }

    s->phy_reg[PHY_STATUS] |= MII_SR_AUTONEG_COMPLETE;

    DBGOUT(PHY, "Auto negotiation is completed\n");

}

FUNC_0(void *VAR_0)

{

    E1000State *s = VAR_0;

    if (!qemu_get_queue(s->nic)->link_down) {

        e1000_link_up(s);

    }

    s->phy_reg[PHY_STATUS] |= MII_SR_AUTONEG_COMPLETE;

    DBGOUT(PHY, "Auto negotiation is completed\n");

}

FUNC_0(void *VAR_0)
{ E1000State *s = VAR_0; if (!qemu_get_queue(s->nic)->link_down) { e1000_link_up(s); } s->phy_reg[PHY_STATUS] |= MII_SR_AUTONEG_COMPLETE; DBGOUT(PHY, "Auto negotiation is completed\n"); }