aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/hpsa.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index e0119377ffe3..e76107b2ade3 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -3337,6 +3337,13 @@ static int hpsa_controller_hard_reset(struct pci_dev *pdev,
3337 pmcsr &= ~PCI_PM_CTRL_STATE_MASK; 3337 pmcsr &= ~PCI_PM_CTRL_STATE_MASK;
3338 pmcsr |= PCI_D0; 3338 pmcsr |= PCI_D0;
3339 pci_write_config_word(pdev, pos + PCI_PM_CTRL, pmcsr); 3339 pci_write_config_word(pdev, pos + PCI_PM_CTRL, pmcsr);
3340
3341 /*
3342 * The P600 requires a small delay when changing states.
3343 * Otherwise we may think the board did not reset and we bail.
3344 * This for kdump only and is particular to the P600.
3345 */
3346 msleep(500);
3340 } 3347 }
3341 return 0; 3348 return 0;
3342} 3349}