/* 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 igb_resume routine.  */
static void igb_io_resume(struct pci_dev *)
/* 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 igb_resume routine.  */
static void igb_io_resume(struct pci_dev *)
{
	struct net_device *netdev = pci_get_drvdata(pdev);
	struct igb_adapter *adapter = netdev_priv(netdev);
	if (netif_running(netdev)) {
		if (igb_up(adapter)) {
			dev_err(&pdev->dev, "igb_up failed after reset\n");
			return;
		}
	}
	netif_device_attach(netdev);
	igb_get_hw_control(adapter);
}