sky2_write8(hw, GMAC_IRQ_MSK, GMAC_DEF_MSK); 
sky2_write8(hw, SK_REG(port, GMAC_IRQ_MSK), GMAC_DEF_MSK); 
static void sky2_link_up(struct sky2_port *sky2){	struct sky2_hw *hw = sky2->hw;	unsigned port = sky2->port;	u16 reg;	/* Enable Transmit FIFO Underrun */	sky2_write8(hw, GMAC_IRQ_MSK, GMAC_DEF_MSK);	reg = gma_read16(hw, port, GM_GP_CTRL);	if (sky2->duplex == DUPLEX_FULL || sky2->autoneg == AUTONEG_ENABLE)		reg |= GM_GPCR_DUP_FULL;	/* enable Rx/Tx */	reg |= GM_GPCR_RX_ENA | GM_GPCR_TX_ENA;	gma_write16(hw, port, GM_GP_CTRL, reg);	gma_read16(hw, port, GM_GP_CTRL);	gm_phy_write(hw, port, PHY_MARV_INT_MASK, PHY_M_DEF_MSK);	netif_carrier_on(sky2->netdev);	netif_wake_queue(sky2->netdev);	/* Turn on link LED */	sky2_write8(hw, SK_REG(port, LNK_LED_REG), 		    LINKLED_ON | LINKLED_BLINK_OFF | LINKLED_LINKSYNC_OFF);	if (netif_msg_link(sky2))		printk(KERN_INFO PFX		       "%s: Link is up at %d Mbps, %s duplex, flowcontrol %s\n",		       sky2->netdev->name, sky2->speed,		       sky2->duplex == DUPLEX_FULL ? "full" : "half",		       (sky2->tx_pause && sky2->rx_pause) ? "both" :		       sky2->tx_pause ? "tx" :		       sky2->rx_pause ? "rx" : "none");}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/793b883ed12a6ae6e2901ddb5e038b77d6f0c0ac/sky2.c/buggy/drivers/net/sky2.c