diff options
author | James Smart <james.smart@emulex.com> | 2010-04-06 15:05:28 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-04-11 14:45:38 -0400 |
commit | c74959370369cd870560777b7db7ec940565bb85 (patch) | |
tree | febf7febd3fce3ba160a405f91bc1c42858c8ee8 /drivers/scsi/lpfc/lpfc_sli.c | |
parent | 49198b371e2da20548d1408a7d3a8dea2f91263c (diff) |
[SCSI] lpfc 8.3.12: BSG Fixes and enhancements
- Add memcpy to mailbox completion to transfer reply correctly.
- Add support for BSG mailbox commands (dump, update_cfg, and
event_log_status).
- Add warning message and refuse mailbox command while mgmt is blocked.
- Add checks for memory allocation failure.
- Add check for sli4 dump zero BDE size.
- Only copy data if mailbox commands succeed.
- Add support for Read Event Log mailbox command.
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_sli.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index 73259bca1d14..1ab7937097a4 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c | |||
@@ -1659,6 +1659,8 @@ lpfc_sli_chk_mbx_command(uint8_t mbxCommand) | |||
1659 | case MBX_INIT_VPI: | 1659 | case MBX_INIT_VPI: |
1660 | case MBX_INIT_VFI: | 1660 | case MBX_INIT_VFI: |
1661 | case MBX_RESUME_RPI: | 1661 | case MBX_RESUME_RPI: |
1662 | case MBX_READ_EVENT_LOG_STATUS: | ||
1663 | case MBX_READ_EVENT_LOG: | ||
1662 | ret = mbxCommand; | 1664 | ret = mbxCommand; |
1663 | break; | 1665 | break; |
1664 | default: | 1666 | default: |