if (netif_running(dev)) sky2_down(dev); 
if (!netif_running(dev)) { dev->mtu = new_mtu; return 0; }  local_irq_disable(); sky2_write32(hw, B0_IMSK, 0);  ctl = gma_read16(hw, sky2->port, GM_GP_CTRL); gma_write16(hw, sky2->port, GM_GP_CTRL, ctl & ~GM_GPCR_RX_ENA); sky2_rx_stop(sky2); sky2_rx_clean(sky2); 
static int sky2_change_mtu(struct net_device *dev, int new_mtu){	int err = 0;	if (new_mtu < ETH_ZLEN || new_mtu > ETH_JUMBO_MTU)		return -EINVAL;	if (netif_running(dev))		sky2_down(dev);	dev->mtu = new_mtu;	if (netif_running(dev))		err = sky2_up(dev);	return err;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/6b1a3aefd897fd9be410d192f950656ef2b59694/sky2.c/buggy/drivers/net/sky2.c