case e1000_82573: 
e1000_set_phy_loopback(struct e1000_adapter *adapter){	uint16_t phy_reg = 0;	uint16_t count = 0;	switch (adapter->hw.mac_type) {	case e1000_82543:		if(adapter->hw.media_type == e1000_media_type_copper) {			/* Attempt to setup Loopback mode on Non-integrated PHY.			 * Some PHY registers get corrupted at random, so			 * attempt this 10 times.			 */			while(e1000_nonintegrated_phy_loopback(adapter) &&			      count++ < 10);			if(count < 11)				return 0;		}		break;	case e1000_82544:	case e1000_82540:	case e1000_82545:	case e1000_82545_rev_3:	case e1000_82546:	case e1000_82546_rev_3:	case e1000_82541:	case e1000_82541_rev_2:	case e1000_82547:	case e1000_82547_rev_2:		return e1000_integrated_phy_loopback(adapter);		break;	default:		/* Default PHY loopback work is to read the MII		 * control register and assert bit 14 (loopback mode).		 */		e1000_read_phy_reg(&adapter->hw, PHY_CTRL, &phy_reg);		phy_reg |= MII_CR_LOOPBACK;		e1000_write_phy_reg(&adapter->hw, PHY_CTRL, phy_reg);		return 0;		break;	}	return 8;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/4564327b46a8c6400cd10d6dd041f6b984539f88/e1000_ethtool.c/buggy/drivers/net/e1000/e1000_ethtool.c