if (hw->phy_type == SK_PHY_XMAC) { /* LInk down, start polling for state change */ if (status & XM_IS_INP_ASS) { xm_write16(hw, port, XM_IMSK, xm_read16(hw, port, XM_IMSK) | XM_IS_INP_ASS); mod_timer(&skge->link_check, jiffies + LINK_POLL_HZ); } else if (status & XM_IS_AND) mod_timer(&skge->link_check, jiffies + LINK_POLL_HZ); } 
static void genesis_mac_intr(struct skge_hw *hw, int port){	struct skge_port *skge = netdev_priv(hw->dev[port]);	u16 status = xm_read16(hw, port, XM_ISRC);	pr_debug("genesis_intr status %x\n", status);	if (hw->phy_type == SK_PHY_XMAC) {		/* LInk down, start polling for state change */		if (status & XM_IS_INP_ASS) {			xm_write16(hw, port, XM_IMSK,					xm_read16(hw, port, XM_IMSK) | XM_IS_INP_ASS);			mod_timer(&skge->link_check, jiffies + LINK_POLL_HZ);		}		else if (status & XM_IS_AND)			mod_timer(&skge->link_check, jiffies + LINK_POLL_HZ);	}	if (status & XM_IS_TXF_UR) {		xm_write32(hw, port, XM_MODE, XM_MD_FTF);		++skge->net_stats.tx_fifo_errors;	}	if (status & XM_IS_RXF_OV) {		xm_write32(hw, port, XM_MODE, XM_MD_FRF);		++skge->net_stats.rx_fifo_errors;	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/89bf5f231f776443a9d65da0f774aa3632534749/skge.c/clean/drivers/net/skge.c