/* Return 0 if success, else a non-zero value.  */
static void __rtas_set_slot_reset(struct pci_dn *pdn)
/* Return 0 if success, else a non-zero value.  */
static void __rtas_set_slot_reset(struct pci_dn *pdn)
{
	struct pci_dev *dev = pdn->pcidev;
	if (dev->needs_freset)
		rtas_pci_slot_reset(pdn, 3);
	else
		rtas_pci_slot_reset(pdn, 1);
#define PCI_BUS_RST_HOLD_TIME_MSEC 250
	msleep (PCI_BUS_RST_HOLD_TIME_MSEC);
	eeh_clear_slot (pdn->node, EEH_MODE_ISOLATED);
	rtas_pci_slot_reset (pdn, 0);
#define PCI_BUS_SETTLE_TIME_MSEC 1800
	msleep (PCI_BUS_SETTLE_TIME_MSEC);
}