#ifdef CONFIG_PCI_MSI if(adapter->hw.mac_type > e1000_82547_rev_2 && adapter->have_msi == TRUE) pci_disable_msi(adapter->pdev); #endif 
e1000_down(struct e1000_adapter *adapter){	struct net_device *netdev = adapter->netdev;	e1000_irq_disable(adapter);	free_irq(adapter->pdev->irq, netdev);	del_timer_sync(&adapter->tx_fifo_stall_timer);	del_timer_sync(&adapter->watchdog_timer);	del_timer_sync(&adapter->phy_info_timer);#ifdef CONFIG_E1000_NAPI	netif_poll_disable(netdev);#endif	adapter->link_speed = 0;	adapter->link_duplex = 0;	netif_carrier_off(netdev);	netif_stop_queue(netdev);	e1000_reset(adapter);	e1000_clean_tx_ring(adapter);	e1000_clean_rx_ring(adapter);	/* If WoL is not enabled	 * Power down the PHY so no link is implied when interface is down */	if(!adapter->wol && adapter->hw.media_type == e1000_media_type_copper) {		uint16_t mii_reg;		e1000_read_phy_reg(&adapter->hw, PHY_CTRL, &mii_reg);		mii_reg |= MII_CR_POWER_DOWN;		e1000_write_phy_reg(&adapter->hw, PHY_CTRL, mii_reg);	}}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/fa4f7ef3aaa6cee6b04ebe90266ee893e0b2ce07/e1000_main.c/clean/drivers/net/e1000/e1000_main.c