struct ixgb_adapter *adapter = netdev->priv; 
struct ixgb_adapter *adapter = netdev_priv(netdev); 
ixgb_set_settings(struct net_device *netdev, struct ethtool_cmd *ecmd){	struct ixgb_adapter *adapter = netdev->priv;	if(ecmd->autoneg == AUTONEG_ENABLE ||	   ecmd->speed + ecmd->duplex != SPEED_10000 + DUPLEX_FULL)		return -EINVAL;		if(netif_running(adapter->netdev)) {		ixgb_down(adapter, TRUE);		ixgb_reset(adapter);		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