static int sbmac_close(struct net_device *dev){	struct sbmac_softc *sc = netdev_priv(dev);	unsigned long flags;	int irq;	sbmac_set_channel_state(sc,sbmac_state_off);	del_timer_sync(&sc->sbm_timer);	spin_lock_irqsave(&sc->sbm_lock, flags);	netif_stop_queue(dev);	if (debug > 1) {		printk(KERN_DEBUG "%s: Shutting down ethercard\n",dev->name);	}	spin_unlock_irqrestore(&sc->sbm_lock, flags);	irq = dev->irq;	synchronize_irq(irq);	free_irq(irq, dev);	sbdma_emptyring(&(sc->sbm_txdma));	sbdma_emptyring(&(sc->sbm_rxdma));		return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/74b0247fbd4b6ed1693a420d85cf50267d840ef4/sb1250-mac.c/buggy/drivers/net/sb1250-mac.c