"%s: Link is up at %d Mbps, %s duplex, flowcontrol %s\n", 
"%s: Link is up at %d Mbps, %s duplex, flow control %s\n", 
static void sky2_link_up(struct sky2_port *sky2){	struct sky2_hw *hw = sky2->hw;	unsigned port = sky2->port;	u16 reg;	/* disable Rx GMAC FIFO flush mode */	sky2_write8(hw, SK_REG(port, RX_GMF_CTRL_T), GMF_RX_F_FL_OFF);	/* Enable Transmit FIFO Underrun */	sky2_write8(hw, SK_REG(port, 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 (hw->chip_id == CHIP_ID_YUKON_XL) {		u16 pg = gm_phy_read(hw, port, PHY_MARV_EXT_ADR);		gm_phy_write(hw, port, PHY_MARV_EXT_ADR, 3);		gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, PHY_M_LEDC_LOS_CTRL(1) |	/* LINK/ACT */			     PHY_M_LEDC_INIT_CTRL(sky2->speed ==						  SPEED_10 ? 7 : 0) |			     PHY_M_LEDC_STA1_CTRL(sky2->speed ==						  SPEED_100 ? 7 : 0) |			     PHY_M_LEDC_STA0_CTRL(sky2->speed ==						  SPEED_1000 ? 7 : 0));		gm_phy_write(hw, port, PHY_MARV_EXT_ADR, pg);	}	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");}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d571b694df3ebc66f7a4c507f5a32579e43c2294/sky2.c/buggy/drivers/net/sky2.c