提交 61d41f61 编写于 作者: C Chad Dupuis 提交者: Christoph Hellwig

qla2xxx: Disable PCI device in shutdown handler.

Disable the PCI device during shutdown to prevent any races with
other PCI code such as the AER handling code.
Signed-off-by: NChad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: NSaurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: NChristoph Hellwig <hch@lst.de>
上级 ef86cb20
......@@ -3032,6 +3032,9 @@ qla2x00_shutdown(struct pci_dev *pdev)
qla2x00_free_irqs(vha);
qla2x00_free_fw_dump(ha);
pci_disable_pcie_error_reporting(pdev);
pci_disable_device(pdev);
}
/* Deletes all the virtual ports for a given ha */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册