/* 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_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);	} 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