/* This callback is called when the error recovery driver tells us that its OK to resume normal operation. Implementation resembles the second-half of the e1000_resume routine.  */
static void e1000_io_resume(struct pci_dev *pdev)
/* This callback is called when the error recovery driver tells us that its OK to resume normal operation. Implementation resembles the second-half of the e1000_resume routine.  */
static void e1000_io_resume(struct pci_dev *pdev)
{
	struct net_device *netdev = pci_get_drvdata(pdev);
	struct e1000_adapter *adapter = netdev_priv(netdev);
	e1000_init_manageability(adapter);
	if (netif_running(netdev)) {
		if (e1000_up(adapter)) {
			printk("e1000: can't bring device back up after reset\n");
			return;
		}
	}
	netif_device_attach(netdev);
}