spin_lock_irq(&tp->lock); spin_lock(&tp->tx_lock); 
tg3_full_lock(tp, 0); 
static int tg3_suspend(struct pci_dev *pdev, pm_message_t state){	struct net_device *dev = pci_get_drvdata(pdev);	struct tg3 *tp = netdev_priv(dev);	int err;	if (!netif_running(dev))		return 0;	tg3_netif_stop(tp);	del_timer_sync(&tp->timer);	spin_lock_irq(&tp->lock);	spin_lock(&tp->tx_lock);	tg3_disable_ints(tp);	spin_unlock(&tp->tx_lock);	spin_unlock_irq(&tp->lock);	netif_device_detach(dev);	spin_lock_irq(&tp->lock);	spin_lock(&tp->tx_lock);	tg3_halt(tp, RESET_KIND_SHUTDOWN, 1);	spin_unlock(&tp->tx_lock);	spin_unlock_irq(&tp->lock);	err = tg3_set_power_state(tp, pci_choose_state(pdev, state));	if (err) {		spin_lock_irq(&tp->lock);		spin_lock(&tp->tx_lock);		tg3_init_hw(tp);		tp->timer.expires = jiffies + tp->timer_offset;		add_timer(&tp->timer);		netif_device_attach(dev);		tg3_netif_start(tp);		spin_unlock(&tp->tx_lock);		spin_unlock_irq(&tp->lock);	}	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/f47c11eeccc8820010992eb32dbe7370a08f8bd3/tg3.c/buggy/drivers/net/tg3.c