struct ixgb_adapter *adapter = netdev->priv; 
struct ixgb_adapter *adapter = netdev_priv(netdev); 
ixgb_set_pauseparam(struct net_device *netdev,			 struct ethtool_pauseparam *pause){	struct ixgb_adapter *adapter = netdev->priv;	struct ixgb_hw *hw = &adapter->hw;		if(pause->autoneg == AUTONEG_ENABLE)		return -EINVAL;	if(pause->rx_pause && pause->tx_pause)		hw->fc.type = ixgb_fc_full;	else if(pause->rx_pause && !pause->tx_pause)		hw->fc.type = ixgb_fc_rx_pause;	else if(!pause->rx_pause && pause->tx_pause)		hw->fc.type = ixgb_fc_tx_pause;	else if(!pause->rx_pause && !pause->tx_pause)		hw->fc.type = ixgb_fc_none;	if(netif_running(adapter->netdev)) {		ixgb_down(adapter, TRUE);		ixgb_up(adapter);		/* be optimistic about our link, since we were up before */		adapter->link_speed = 10000;		adapter->link_duplex = FULL_DUPLEX;		netif_carrier_on(netdev);		netif_wake_queue(netdev);	} else		ixgb_reset(adapter);			return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/8908c6cd1d6889850148aeb50bb14301959adaa7/ixgb_ethtool.c/clean/drivers/net/ixgb/ixgb_ethtool.c