isci: fix oem parameter initialization and mode detection
1/ Since commit 858d4aa7 "isci: Move firmware loading to per PCI device" we have been silently falling back to built-in defaults for the parameter settings by skipping the call to scic_oem_parameters_set(). 2/ The afe parameters from the firmware were not being honored 3/ The latest oem parameter definition flips the mode_type values which are now 0: for APC 1: for MPC. For APC we need to make sure all the phys default to the same address otherwise strict_wide_ports will cause duplicate domains. 4/ Fix up the driver announcement to indicate the source of the parameters. 5/ Fix up the sas addresses to be unique per controller (in the fallback case) Signed-off-by:Dave Jiang <dave.jiang@intel.com> Signed-off-by:
Dan Williams <dan.j.williams@intel.com>
Showing
- drivers/scsi/isci/core/sci_base_controller.h 0 additions, 2 deletionsdrivers/scsi/isci/core/sci_base_controller.h
- drivers/scsi/isci/core/scic_sds_controller.c 16 additions, 14 deletionsdrivers/scsi/isci/core/scic_sds_controller.c
- drivers/scsi/isci/firmware/create_fw.c 10 additions, 1 deletiondrivers/scsi/isci/firmware/create_fw.c
- drivers/scsi/isci/firmware/create_fw.h 24 additions, 15 deletionsdrivers/scsi/isci/firmware/create_fw.h
- drivers/scsi/isci/host.c 12 additions, 18 deletionsdrivers/scsi/isci/host.c
- drivers/scsi/isci/init.c 4 additions, 2 deletionsdrivers/scsi/isci/init.c
- drivers/scsi/isci/probe_roms.c 1 addition, 4 deletionsdrivers/scsi/isci/probe_roms.c
- drivers/scsi/isci/probe_roms.h 6 additions, 2 deletionsdrivers/scsi/isci/probe_roms.h
- firmware/isci/isci_firmware.bin.ihex 14 additions, 14 deletionsfirmware/isci/isci_firmware.bin.ihex
Loading
Please register or sign in to comment