• James Smart's avatar
    [SCSI] lpfc 8.3.26: Fix HBA initialization issues · 079b5c91
    James Smart authored
    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: default avatarAlex Iannicelli <alex.iannicelli@emulex.com>
    Signed-off-by: default avatarJames Smart <james.smart@emulex.com>
    Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
    079b5c91
lpfc_init.c 298 KB