spin_lock_irq(&tp->lock); spin_lock(&tp->tx_lock); 
tg3_full_lock(tp, 1); 
static int tg3_close(struct net_device *dev){	struct tg3 *tp = netdev_priv(dev);	netif_stop_queue(dev);	del_timer_sync(&tp->timer);	spin_lock_irq(&tp->lock);	spin_lock(&tp->tx_lock);#if 0	tg3_dump_state(tp);#endif	tg3_disable_ints(tp);	tg3_halt(tp, RESET_KIND_SHUTDOWN, 1);	tg3_free_rings(tp);	tp->tg3_flags &=		~(TG3_FLAG_INIT_COMPLETE |		  TG3_FLAG_GOT_SERDES_FLOWCTL);	netif_carrier_off(tp->dev);	spin_unlock(&tp->tx_lock);	spin_unlock_irq(&tp->lock);	free_irq(tp->pdev->irq, dev);	if (tp->tg3_flags2 & TG3_FLG2_USING_MSI) {		pci_disable_msi(tp->pdev);		tp->tg3_flags2 &= ~TG3_FLG2_USING_MSI;	}	memcpy(&tp->net_stats_prev, tg3_get_stats(tp->dev),	       sizeof(tp->net_stats_prev));	memcpy(&tp->estats_prev, tg3_get_estats(tp),	       sizeof(tp->estats_prev));	tg3_free_consistent(tp);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f47c11eeccc8820010992eb32dbe7370a08f8bd3/tg3.c/buggy/drivers/net/tg3.c