summaryrefslogtreecommitdiff
path: root/drivers/scsi/qla2xxx/qla_mr.h
diff options
context:
space:
mode:
authorChad Dupuis <chad.dupuis@qlogic.com>2013-10-30 03:38:16 -0400
committerJames Bottomley <JBottomley@Parallels.com>2013-12-19 07:38:58 -0800
commitf3ddac1918fe963bcbf8d407a3a3c0881b47248b (patch)
tree307e736319180d8930154ce40309f017e3696673 /drivers/scsi/qla2xxx/qla_mr.h
parentfe1b806f4f7172b1eae18ddeebb7d8fb351043f7 (diff)
[SCSI] qla2xxx: Disable adapter when we encounter a PCI disconnect.
If we become disconnected from the PCI bus/PCIe fabric, there can be long delays in register reads which can cause erroneous decisions to be made and cause a soft lockup if a lock is held too long. As a preventative measure, check for a disconnection (register reads that return -1) and then disable the board if we find ourselves in this condition. For now, check in our interrupt handlers and the per adapter one second timer. Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_mr.h')
0 files changed, 0 insertions, 0 deletions