Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 273847
b: refs/heads/master
c: c4853ef
h: refs/heads/master
i:
  273845: cf97281
  273843: 22651f8
  273839: 8ff50d5
v: v3
  • Loading branch information
Mike Miller authored and Jens Axboe committed Oct 21, 2011
1 parent 67ae925 commit a0c0db7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ab5dbebe33e0c353e8545f09c34553ac3351dad6
refs/heads/master: c4853efec665134b2e6fc9c13447323240980351
7 changes: 7 additions & 0 deletions trunk/drivers/scsi/hpsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -3283,6 +3283,13 @@ static int hpsa_controller_hard_reset(struct pci_dev *pdev,
pmcsr &= ~PCI_PM_CTRL_STATE_MASK;
pmcsr |= PCI_D0;
pci_write_config_word(pdev, pos + PCI_PM_CTRL, pmcsr);

/*
* The P600 requires a small delay when changing states.
* Otherwise we may think the board did not reset and we bail.
* This for kdump only and is particular to the P600.
*/
msleep(500);
}
return 0;
}
Expand Down

0 comments on commit a0c0db7

Please sign in to comment.