diff options
author | James Smart <james.smart@emulex.com> | 2010-09-29 11:18:53 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-10-07 18:28:37 -0400 |
commit | dcf2a4e0792e837d6133506444a033a95cbc9616 (patch) | |
tree | 9ff7c9e1e4f7545a391cee4c205ef358f1894acc /drivers/scsi/lpfc/lpfc_attr.c | |
parent | d439d286f573afab8c164dbc953ce1d214585a40 (diff) |
[SCSI] lpfc 8.3.17: SLI Additions and Fixes
- Added driver support for management application to pass down two security
specific mailbox commands (MBX_SECURITY_MGMT and MBX_AUTH_PORT)
- Added driver support for handling FIPS zeroization trap of host ERATT ER8,
performing selective reset and bringing the device up.
- Added code to detect INIT_LINK mailbox command completion returning status
MBXERR_SEC_NO_PERMISSION.
- Increased the wait timeout on host status register HS_FFRDY and HS_MBRDY
being set.
- Remove the port offline code from the Heartbeat TMO handler.
Signed-off-by: Alex Iannicelli <alex.iannicelli@emulex.com>
Signed-off-by: James Smart <james.smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_attr.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_attr.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index f6efc6fe86d7..f681eea57730 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c | |||
@@ -586,6 +586,11 @@ lpfc_issue_lip(struct Scsi_Host *shost) | |||
586 | phba->cfg_link_speed); | 586 | phba->cfg_link_speed); |
587 | mbxstatus = lpfc_sli_issue_mbox_wait(phba, pmboxq, | 587 | mbxstatus = lpfc_sli_issue_mbox_wait(phba, pmboxq, |
588 | phba->fc_ratov * 2); | 588 | phba->fc_ratov * 2); |
589 | if ((mbxstatus == MBX_SUCCESS) && | ||
590 | (pmboxq->u.mb.mbxStatus == MBXERR_SEC_NO_PERMISSION)) | ||
591 | lpfc_printf_log(phba, KERN_ERR, LOG_MBOX | LOG_SLI, | ||
592 | "2859 SLI authentication is required " | ||
593 | "for INIT_LINK but has not done yet\n"); | ||
589 | } | 594 | } |
590 | 595 | ||
591 | lpfc_set_loopback_flag(phba); | 596 | lpfc_set_loopback_flag(phba); |
@@ -3782,6 +3787,11 @@ sysfs_mbox_read(struct file *filp, struct kobject *kobj, | |||
3782 | case MBX_PORT_CAPABILITIES: | 3787 | case MBX_PORT_CAPABILITIES: |
3783 | case MBX_PORT_IOV_CONTROL: | 3788 | case MBX_PORT_IOV_CONTROL: |
3784 | break; | 3789 | break; |
3790 | case MBX_SECURITY_MGMT: | ||
3791 | case MBX_AUTH_PORT: | ||
3792 | if (phba->pci_dev_grp == LPFC_PCI_DEV_OC) | ||
3793 | return -EPERM; | ||
3794 | break; | ||
3785 | case MBX_READ_SPARM64: | 3795 | case MBX_READ_SPARM64: |
3786 | case MBX_READ_LA: | 3796 | case MBX_READ_LA: |
3787 | case MBX_READ_LA64: | 3797 | case MBX_READ_LA64: |