/* This routine is invoked to stop an SLI3 device port, it stops the device from generating interrupts and stops the device driver's timers for the device.  */
static void lpfc_stop_port_s3(struct lpfc_hba *phba)
/* This routine is invoked to stop an SLI3 device port, it stops the device from generating interrupts and stops the device driver's timers for the device.  */
static void lpfc_stop_port_s3(struct lpfc_hba *phba)
{
	writel(0, phba->HCregaddr);
	readl(phba->HCregaddr);
	writel(0xffffffff, phba->HAregaddr);
	readl(phba->HAregaddr);
	lpfc_stop_hba_timers(phba);
	phba->pport->work_port_events = 0;
}