提交 fba63097 编写于 作者: M Mike Miller 提交者: James Bottomley

[SCSI] hpsa: change confusing message to be more clear

The following warning message may be confusing to some users:

dev_warn(&pdev->dev, "Controller claims that "
		"'Bit 2 doorbell reset' is "
		"supported, but not 'bit 5 doorbell reset'.  "
		"Firmware update is recommended.\n");

Most users don't know or care what bit we may be hitting. Also change
"recommended" to "required."
Signed-off-by: NMike Miller <mike.miller@hp.com>
Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
上级 2d63673b
...@@ -3438,10 +3438,8 @@ static __devinit int hpsa_kdump_hard_reset_controller(struct pci_dev *pdev) ...@@ -3438,10 +3438,8 @@ static __devinit int hpsa_kdump_hard_reset_controller(struct pci_dev *pdev)
} else { } else {
use_doorbell = misc_fw_support & MISC_FW_DOORBELL_RESET; use_doorbell = misc_fw_support & MISC_FW_DOORBELL_RESET;
if (use_doorbell) { if (use_doorbell) {
dev_warn(&pdev->dev, "Controller claims that " dev_warn(&pdev->dev, "Soft reset not supported. "
"'Bit 2 doorbell reset' is " "Firmware update is required.\n");
"supported, but not 'bit 5 doorbell reset'. "
"Firmware update is recommended.\n");
rc = -ENOTSUPP; /* try soft reset */ rc = -ENOTSUPP; /* try soft reset */
goto unmap_cfgtable; goto unmap_cfgtable;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册