1. 17 10月, 2011 4 次提交
  2. 29 8月, 2011 1 次提交
    • J
      [SCSI] lpfc 8.3.26: Fix HBA initialization issues · 079b5c91
      James Smart 提交于
      Fix HBA initialization issues
      
      - Swap all values that come from the firmware image on little endian systems.
        Created a new bf_get_be macro that does the same as the bf_get_le macro but
        for big endian data instead of little endian data.
      - Moved the incrementing of temp_offset after the copy
        fixed the write object loop to use temp_offset to figure out where the end
        of the image is instead of offset.
      - Added the necessary codes for properly bringing the driver instance offline
        and then trying to bring the port back online with the PCI function IP reset.
        If it fails to bring the SLI port back online, it will fall through to
        bringing the SLI port to HBA error offline.
      - Add a call in the probe_one_s3 and probe_one_s4 routines to get the Modeldesc
      - Change OCe50100 to OCe15100
      - Made the error log also include the PCI BAR bitmap returned from kernel call
        pci_select_bars().
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      079b5c91
  3. 27 7月, 2011 2 次提交
    • J
      [SCSI] lpfc 8.3.25: Adapter Interface fixes and changes · 7851fe2c
      James Smart 提交于
      Adapter Interface fixes and changes
      
      - Modify the macro field from lpfc_init_vpi_vpi to lpfc_init_vfi_vpi
      - Add the new CQE_CODE_RECEIVE_V1 CQE Code, add code in the driver to handle
        the new Code the same as the CQE_CODE_RECEIVE code except that there are
        two new checks for this code that will cause the driver to use the new V1
        macros for rq_id and fcf_id.
      - Fix a bug in lpfc_prep_seq() where the size out of the first CQE was
        ONLY being used, even though multiple dmabufs make up the sequence,
        each have their own CQE with potentially different sizes.
      - Fix bug in lpfc_bsg_ct_unsol_event() where the ulpContext and ulpWord[3]
        fields of the XMIT_SEQUENCE64_CX IOCB were being calculated incorrectly.
      - Do physical to logical translation before indexing into the active
        XRI array.
      - Populate physical vpi in the iocb data structure.
      - Put the current accumulated total in each IOCB in the chain as we are
        walking thru then. The last IOCB in the chain should have the total
        length of the sequence.
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      7851fe2c
    • J
      [SCSI] lpfc 8.3.25: Miscellaneous Bug fixes and code cleanup · 88a2cfbb
      James Smart 提交于
      Miscellaneous Bug fixes and code cleanup
      
      - Fix 16G link speed reporting by adding check for 16G check.
      - Change the check and enforcement of MAILBOX_EXT_SIZE (2048B)
        to the check and enforcement of BSG_MBOX_SIZE - sizeof(MAILBOX_t) (3840B).
      - Instead of waiting for a fixed amount of time after performing firmware
        reset, the driver shall wait for the Lancer SLIPORT_STATUS register for the
        readiness of the firmware for bring up.
      - Add logging to indicate when dynamic parameters are changed.
      - Add revision and date to the firmware image format.
      - Use revision instead of rev_name to check firmware image version.
      - Update temporary offset after memcopy is complete for firmware update.
      - Consolidated the use of the macros to get rid of duplicated register
        offset definitions.
      - Removed the unused second parameter in routine lpfc_bsg_diag_mode_enter()
      - Enable debugfs when debugfs is enabled.
      - Update function comments for lpfc_sli4_alloc_xri and lpfc_sli4_init_rpi_hdrs.
      Signed-off-by: NAlex Iannicelli <alex.iannicelli@emulex.com>
      Signed-off-by: NJames Smart <james.smart@emulex.com>
      Signed-off-by: NJames Bottomley <JBottomley@Parallels.com>
      88a2cfbb
  4. 27 5月, 2011 6 次提交
  5. 02 5月, 2011 2 次提交
  6. 24 3月, 2011 2 次提交
  7. 19 2月, 2011 1 次提交
  8. 22 12月, 2010 4 次提交
  9. 26 10月, 2010 1 次提交
  10. 12 4月, 2010 1 次提交
  11. 11 4月, 2010 1 次提交
  12. 18 2月, 2010 3 次提交
  13. 09 2月, 2010 1 次提交
  14. 18 1月, 2010 1 次提交
  15. 05 1月, 2010 2 次提交
  16. 05 12月, 2009 5 次提交
  17. 23 8月, 2009 1 次提交
    • J
      [SCSI] lpfc 8.3.4: Various SLI4 fixes · 8fa38513
      James Smart 提交于
      Various SLI4 fixes
      
      - Fix switch name not used in the FCF record for FCoE HBAs
      - Enabled HBA UE error polling error-condition action code
      - Rewrite lpfc_sli4_scmd_to_wqidx_distr() to handle counter rollover cleanly
      - Modify resume_rpi mailbox data structure to match current SLI4 spec
      - Do not issue mailbox command in MBX_POLL mode when LPFC_HBA_ERROR is set
      - Wait for HBA POST completion before checking Online and UE registers
      - Fix accumulated total length not being filled in on unsolicited IOCBs
      - Use PCI config space register to determine SLI rev of HBA
      - Turn on starting ELS tmo function timer during device initialization
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@suse.de>
      8fa38513
  18. 15 6月, 2009 2 次提交
    • J
      [SCSI] lpfc 8.3.3 : FC/FCOE discovery fixes · 0c287589
      James Smart 提交于
      Contains the following changes:
      - Force vport to send LOGO to fabric controller when deleting vport
      - Fixed driver failing to register login when a PLOGI is received
      - Fixes for FIP discovery
      - Added stricter checks for FCF addressing mode
      - Added code to send only FLOGI, FDISC and LOGO to Fabric controller as FIP
      - Fixed handling of LOGO from Fabric port
      - Fixed consecutive link up events skipped link_down processing
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      0c287589
    • J
      [SCSI] lpfc 8.3.3 : Fix various SLI-3 vs SLI-4 differences · f1126688
      James Smart 提交于
      Contains the following changes
      - Set the CT field of FDISC to 3
      - Fixed over allocation of SCSI buffers on SLI4
      - Removed unused jump table entries
      - Increase LPFC_WQE_DEF_COUNT to 256
      - Updated FDISC context to VPI
      - Fixed immediate SCSI command for LUN reset translation to WQE
      - Extended mailbox handling to allow MBX_POLL commands in between async
        MBQ commands
      - Fixed SID used for FDISC
      - Fix crash when accessing ctlregs from sysfs for SLI4 HBAs
      - Fix SLI4 firmware version not being saved or displayed correctly
      - Expand CQID field in WQE structure to 16 bits
      - Fix post header template mailbox command timing out
      - Removed FCoE PCI device ID 0x0705
      Signed-off-by: NJames Smart <James.Smart@emulex.com>
      Signed-off-by: NJames Bottomley <James.Bottomley@HansenPartnership.com>
      f1126688