/* This callback is called when the error recovery driver tells us that its OK to resume normal operation.  */
static void bnx2_io_resume(struct pci_dev *pdev)
/* This callback is called when the error recovery driver tells us that its OK to resume normal operation.  */
static void bnx2_io_resume(struct pci_dev *pdev)
{
	struct net_device *dev = pci_get_drvdata(pdev);
	struct bnx2 *bp = netdev_priv(dev);
	rtnl_lock();
	if (netif_running(dev))
		bnx2_netif_start(bp);
	netif_device_attach(dev);
	rtnl_unlock();
}