aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
authorJames Smart <james.smart@emulex.com>2012-09-29 11:31:41 -0400
committerJames Bottomley <JBottomley@Parallels.com>2012-10-08 07:10:19 -0400
commit292098beb5ea8624e6114cdd53a1b089c233560b (patch)
treea8cb8cf68d99be5ea3c5490de7c80bebc9e16ab0 /drivers/scsi/lpfc/lpfc_init.c
parent876dd7d06cbdfcffb93f42fd734b6d46c27e3ca3 (diff)
[SCSI] lpfc 8.3.35: Fixed messages for misconfigured port errors
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>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 56cddd87894c..c28b02a503dd 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -3783,14 +3783,18 @@ lpfc_sli4_async_sli_evt(struct lpfc_hba *phba, struct lpfc_acqe_sli *acqe_sli)
3783 case LPFC_SLI_EVENT_STATUS_VALID: 3783 case LPFC_SLI_EVENT_STATUS_VALID:
3784 return; /* no message if the sfp is okay */ 3784 return; /* no message if the sfp is okay */
3785 case LPFC_SLI_EVENT_STATUS_NOT_PRESENT: 3785 case LPFC_SLI_EVENT_STATUS_NOT_PRESENT:
3786 sprintf(message, "Not installed"); 3786 sprintf(message, "Optics faulted/incorrectly installed/not " \
3787 "installed - Reseat optics, if issue not "
3788 "resolved, replace.");
3787 break; 3789 break;
3788 case LPFC_SLI_EVENT_STATUS_WRONG_TYPE: 3790 case LPFC_SLI_EVENT_STATUS_WRONG_TYPE:
3789 sprintf(message, 3791 sprintf(message,
3790 "Optics of two types installed"); 3792 "Optics of two types installed - Remove one optic or " \
3793 "install matching pair of optics.");
3791 break; 3794 break;
3792 case LPFC_SLI_EVENT_STATUS_UNSUPPORTED: 3795 case LPFC_SLI_EVENT_STATUS_UNSUPPORTED:
3793 sprintf(message, "Incompatible optics"); 3796 sprintf(message, "Incompatible optics - Replace with " \
3797 "compatible optics for card to function.");
3794 break; 3798 break;
3795 default: 3799 default:
3796 /* firmware is reporting a status we don't know about */ 3800 /* firmware is reporting a status we don't know about */