qlcnic: Enhance driver message in failed state.

Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Sucheta Chakraborty 2014-02-21 13:20:12 -05:00 committed by David S. Miller
parent d91abf903b
commit 2a355aecd2

View File

@ -2450,8 +2450,8 @@ qlcnic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
if (err) { if (err) {
switch (err) { switch (err) {
case -ENOTRECOVERABLE: case -ENOTRECOVERABLE:
dev_err(&pdev->dev, "Adapter initialization failed due to a faulty hardware. Please reboot\n"); dev_err(&pdev->dev, "Adapter initialization failed due to a faulty hardware\n");
dev_err(&pdev->dev, "If reboot doesn't help, please replace the adapter with new one and return the faulty adapter for repair\n"); dev_err(&pdev->dev, "Please replace the adapter with new one and return the faulty adapter for repair\n");
goto err_out_free_hw; goto err_out_free_hw;
case -ENOMEM: case -ENOMEM:
dev_err(&pdev->dev, "Adapter initialization failed. Please reboot\n"); dev_err(&pdev->dev, "Adapter initialization failed. Please reboot\n");