[SCSI] lpfc 8.3.35: Fixed messages for misconfigured port errors
authorJames Smart <james.smart@emulex.com>
Sat, 29 Sep 2012 15:31:41 +0000 (11:31 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 8 Oct 2012 11:10:19 +0000 (12:10 +0100)
Fixed messages for misconfigured port errors to be consistent for
all OS platforms.

Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/lpfc/lpfc_init.c

index 56cddd87894c4dc608319545fcbe4c6e2fd6f89a..c28b02a503dd492e0116d9af8795b3226fad1188 100644 (file)
@@ -3783,14 +3783,18 @@ lpfc_sli4_async_sli_evt(struct lpfc_hba *phba, struct lpfc_acqe_sli *acqe_sli)
        case LPFC_SLI_EVENT_STATUS_VALID:
                return; /* no message if the sfp is okay */
        case LPFC_SLI_EVENT_STATUS_NOT_PRESENT:
-               sprintf(message, "Not installed");
+               sprintf(message, "Optics faulted/incorrectly installed/not " \
+                               "installed - Reseat optics, if issue not "
+                               "resolved, replace.");
                break;
        case LPFC_SLI_EVENT_STATUS_WRONG_TYPE:
                sprintf(message,
-                       "Optics of two types installed");
+                       "Optics of two types installed - Remove one optic or " \
+                       "install matching pair of optics.");
                break;
        case LPFC_SLI_EVENT_STATUS_UNSUPPORTED:
-               sprintf(message, "Incompatible optics");
+               sprintf(message, "Incompatible optics - Replace with " \
+                               "compatible optics for card to function.");
                break;
        default:
                /* firmware is reporting a status we don't know about */