aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2011-01-06 15:48:18 -0500
committerJames Bottomley <James.Bottomley@suse.de>2011-01-24 12:30:11 -0500
commit25c1e56a04e60af2414f8d81eda0fd10b8e7b961 (patch)
treebda04a91b4084dd0c9bbe9ecb25b473d496974f2 /drivers/scsi/hpsa.c
parent72ceeaecb748dff3d35b10d7518bed651b895f3e (diff)
[SCSI] hpsa: do not reset unknown boards on reset_devices
This is to prevent hpsa from resetting older boards which the cciss driver may be controlling. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r--drivers/scsi/hpsa.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 688b24333a6f..5b9cd41d9320 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -3140,7 +3140,11 @@ static __devinit int hpsa_kdump_hard_reset_controller(struct pci_dev *pdev)
3140 * likely not be happy. Just forbid resetting this conjoined mess. 3140 * likely not be happy. Just forbid resetting this conjoined mess.
3141 * The 640x isn't really supported by hpsa anyway. 3141 * The 640x isn't really supported by hpsa anyway.
3142 */ 3142 */
3143 hpsa_lookup_board_id(pdev, &board_id); 3143 rc = hpsa_lookup_board_id(pdev, &board_id);
3144 if (rc < 0) {
3145 dev_warn(&pdev->dev, "Not resetting device.\n");
3146 return -ENODEV;
3147 }
3144 if (board_id == 0x409C0E11 || board_id == 0x409D0E11) 3148 if (board_id == 0x409C0E11 || board_id == 0x409D0E11)
3145 return -ENOTSUPP; 3149 return -ENOTSUPP;
3146 3150