/* 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); 
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);	} else		ixgb_reset(adapter);			return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/51b54b512cd26c4477ccd57b8d3736b99ccef7a0/ixgb_ethtool.c/buggy/drivers/net/ixgb/ixgb_ethtool.c