skge->speed = ecmd->speed; skge->duplex = ecmd->duplex; 
static int skge_set_settings(struct net_device *dev, struct ethtool_cmd *ecmd){	struct skge_port *skge = netdev_priv(dev);	const struct skge_hw *hw = skge->hw;	if (ecmd->autoneg == AUTONEG_ENABLE) {		if (ecmd->advertising & skge_modes(hw))			return -EINVAL;	} else {		switch (ecmd->speed) {		case SPEED_1000:			break;		case SPEED_100:		case SPEED_10:			if (iscopper(hw) || hw->chip_id == CHIP_ID_GENESIS)				return -EINVAL;			break;		default:			return -EINVAL;		}	}	skge->autoneg = ecmd->autoneg;	skge->speed = ecmd->speed;	skge->duplex = ecmd->duplex;	skge->advertising = ecmd->advertising;	if (netif_running(dev)) {		skge_down(dev);		skge_up(dev);	}	return (0);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/31b619c5abaa5512e7b41f190f9b7903b902f29a/skge.c/buggy/drivers/net/skge.c