/* Restart the card from scratch, as if from a cold-boot.  */
static pci_ers_result_t t3_io_slot_reset(struct pci_dev *pdev)
/* Restart the card from scratch, as if from a cold-boot.  */
static pci_ers_result_t t3_io_slot_reset(struct pci_dev *pdev)
{
	struct adapter *adapter = pci_get_drvdata(pdev);
	if (!t3_reenable_adapter(adapter))
		return PCI_ERS_RESULT_RECOVERED;
	return PCI_ERS_RESULT_DISCONNECT;
}