spin_unlock_irq(&tp->lock);
spin_unlock_bh(&tp->lock);
static int tg3_set_rx_csum(struct net_device *dev, u32 data){	struct tg3 *tp = netdev_priv(dev);  	if (tp->tg3_flags & TG3_FLAG_BROKEN_CHECKSUMS) {		if (data != 0)			return -EINVAL;  		return 0;  	}  	spin_lock_irq(&tp->lock);	if (data)		tp->tg3_flags |= TG3_FLAG_RX_CHECKSUMS;	else		tp->tg3_flags &= ~TG3_FLAG_RX_CHECKSUMS;	spin_unlock_irq(&tp->lock);  	return 0;}