diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2011-05-03 15:59:36 -0400 |
---|---|---|
committer | James Bottomley <jbottomley@parallels.com> | 2011-05-17 03:06:11 -0400 |
commit | 2b870cb30000477e425666f9c6d83cca8fddc7c0 (patch) | |
tree | be9d3825b3d871b73799f28981d6a7b8b2d03090 /drivers/scsi/hpsa.c | |
parent | 2ed7127bceb10a6a7d5a38c30ab65176d4e4bc0f (diff) |
[SCSI] hpsa: clarify messages around reset behavior
When waiting for the board to become "not ready"
don't print a message saying "waiting for board to
become ready" (possibly followed by a message saying
"failed waiting for board to become not ready". Instead,
it should be "waiting for board to reset" and "failed
waiting for board to reset."
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <jbottomley@parallels.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r-- | drivers/scsi/hpsa.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 97db2e5d6d16..2a90e9a63830 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -3334,11 +3334,11 @@ static __devinit int hpsa_kdump_hard_reset_controller(struct pci_dev *pdev) | |||
3334 | msleep(HPSA_POST_RESET_PAUSE_MSECS); | 3334 | msleep(HPSA_POST_RESET_PAUSE_MSECS); |
3335 | 3335 | ||
3336 | /* Wait for board to become not ready, then ready. */ | 3336 | /* Wait for board to become not ready, then ready. */ |
3337 | dev_info(&pdev->dev, "Waiting for board to become ready.\n"); | 3337 | dev_info(&pdev->dev, "Waiting for board to reset.\n"); |
3338 | rc = hpsa_wait_for_board_state(pdev, vaddr, BOARD_NOT_READY); | 3338 | rc = hpsa_wait_for_board_state(pdev, vaddr, BOARD_NOT_READY); |
3339 | if (rc) | 3339 | if (rc) |
3340 | dev_warn(&pdev->dev, | 3340 | dev_warn(&pdev->dev, |
3341 | "failed waiting for board to become not ready\n"); | 3341 | "failed waiting for board to reset\n"); |
3342 | rc = hpsa_wait_for_board_state(pdev, vaddr, BOARD_READY); | 3342 | rc = hpsa_wait_for_board_state(pdev, vaddr, BOARD_READY); |
3343 | if (rc) { | 3343 | if (rc) { |
3344 | dev_warn(&pdev->dev, | 3344 | dev_warn(&pdev->dev, |
@@ -3837,6 +3837,7 @@ static __devinit int hpsa_init_reset_devices(struct pci_dev *pdev) | |||
3837 | return -ENODEV; | 3837 | return -ENODEV; |
3838 | 3838 | ||
3839 | /* Now try to get the controller to respond to a no-op */ | 3839 | /* Now try to get the controller to respond to a no-op */ |
3840 | dev_warn(&pdev->dev, "Waiting for controller to respond to no-op\n"); | ||
3840 | for (i = 0; i < HPSA_POST_RESET_NOOP_RETRIES; i++) { | 3841 | for (i = 0; i < HPSA_POST_RESET_NOOP_RETRIES; i++) { |
3841 | if (hpsa_noop(pdev) == 0) | 3842 | if (hpsa_noop(pdev) == 0) |
3842 | break; | 3843 | break; |