switch (hw->phy_type) { case SK_PHY_BCOM: xm_phy_write(hw, port, PHY_BCOM_P_EXT_CTRL, PHY_B_PEC_LED_ON); break; default: skge_write8(hw, SK_REG(port, TX_LED_TST), LED_T_ON); skge_write32(hw, SK_REG(port, TX_LED_VAL), 100); skge_write8(hw, SK_REG(port, TX_LED_CTRL), LED_START); } 
/* For Broadcom Phy only */ xm_phy_write(hw, port, PHY_BCOM_P_EXT_CTRL, PHY_B_PEC_LED_ON); 
static void skge_led_on(struct skge_hw *hw, int port){	if (hw->chip_id == CHIP_ID_GENESIS) {		skge_write8(hw, SK_REG(port, LNK_LED_REG), LINKLED_ON);		skge_write8(hw, B0_LED, LED_STAT_ON);		skge_write8(hw, SK_REG(port, RX_LED_TST), LED_T_ON);		skge_write32(hw, SK_REG(port, RX_LED_VAL), 100);		skge_write8(hw, SK_REG(port, RX_LED_CTRL), LED_START);		switch (hw->phy_type) {		case SK_PHY_BCOM:			xm_phy_write(hw, port, PHY_BCOM_P_EXT_CTRL,					  PHY_B_PEC_LED_ON);			break;		default:			skge_write8(hw, SK_REG(port, TX_LED_TST), LED_T_ON);			skge_write32(hw, SK_REG(port, TX_LED_VAL), 100);			skge_write8(hw, SK_REG(port, TX_LED_CTRL), LED_START);		}	} else {		gm_phy_write(hw, port, PHY_MARV_LED_CTRL, 0);		gm_phy_write(hw, port, PHY_MARV_LED_OVER,				  PHY_M_LED_MO_DUP(MO_LED_ON)  |				  PHY_M_LED_MO_10(MO_LED_ON)   |				  PHY_M_LED_MO_100(MO_LED_ON)  |				  PHY_M_LED_MO_1000(MO_LED_ON) |				  PHY_M_LED_MO_RX(MO_LED_ON));	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/89bf5f231f776443a9d65da0f774aa3632534749/skge.c/clean/drivers/net/skge.c