 del_timer_sync(&skge->led_blink); 
static int skge_down(struct net_device *dev){	struct skge_port *skge = netdev_priv(dev);	struct skge_hw *hw = skge->hw;	int port = skge->port;	if (netif_msg_ifdown(skge))		printk(KERN_INFO PFX "%s: disabling interface\n", dev->name);	netif_stop_queue(dev);	del_timer_sync(&skge->led_blink);	/* Stop transmitter */	skge_write8(hw, Q_ADDR(txqaddr[port], Q_CSR), CSR_STOP);	skge_write32(hw, RB_ADDR(txqaddr[port], RB_CTRL),		     RB_RST_SET|RB_DIS_OP_MD);	if (hw->chip_id == CHIP_ID_GENESIS)		genesis_stop(skge);	else		yukon_stop(skge);	/* Disable Force Sync bit and Enable Alloc bit */	skge_write8(hw, SK_REG(port, TXA_CTRL),		    TXA_DIS_FSYNC | TXA_DIS_ALLOC | TXA_STOP_RC);	/* Stop Interval Timer and Limit Counter of Tx Arbiter */	skge_write32(hw, SK_REG(port, TXA_ITI_INI), 0L);	skge_write32(hw, SK_REG(port, TXA_LIM_INI), 0L);	/* Reset PCI FIFO */	skge_write32(hw, Q_ADDR(txqaddr[port], Q_CSR), CSR_SET_RESET);	skge_write32(hw, RB_ADDR(txqaddr[port], RB_CTRL), RB_RST_SET);	/* Reset the RAM Buffer async Tx queue */	skge_write8(hw, RB_ADDR(port == 0 ? Q_XA1 : Q_XA2, RB_CTRL), RB_RST_SET);	/* stop receiver */	skge_write8(hw, Q_ADDR(rxqaddr[port], Q_CSR), CSR_STOP);	skge_write32(hw, RB_ADDR(port ? Q_R2 : Q_R1, RB_CTRL),		     RB_RST_SET|RB_DIS_OP_MD);	skge_write32(hw, Q_ADDR(rxqaddr[port], Q_CSR), CSR_SET_RESET);	if (hw->chip_id == CHIP_ID_GENESIS) {		skge_write8(hw, SK_REG(port, TX_MFF_CTRL2), MFF_RST_SET);		skge_write8(hw, SK_REG(port, RX_MFF_CTRL2), MFF_RST_SET);		skge_write8(hw, SK_REG(port, TX_LED_CTRL), LED_STOP);		skge_write8(hw, SK_REG(port, RX_LED_CTRL), LED_STOP);	} else {		skge_write8(hw, SK_REG(port, RX_GMF_CTRL_T), GMF_RST_SET);		skge_write8(hw, SK_REG(port, TX_GMF_CTRL_T), GMF_RST_SET);	}	/* turn off led's */	skge_write16(hw, B0_LED, LED_STAT_OFF);	skge_tx_clean(skge);	skge_rx_clean(skge);	kfree(skge->rx_ring.start);	kfree(skge->tx_ring.start);	pci_free_consistent(hw->pdev, skge->mem_size, skge->mem, skge->dma);	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/6abebb538d317ead09cc0f3c2a0752047f9ff961/skge.c/buggy/drivers/net/skge.c