summaryrefslogtreecommitdiff
path: root/drivers/scsi/isci/firmware
diff options
context:
space:
mode:
authorHenryk Dembkowski <Henryk.Dembkowski@intel.com>2011-02-24 00:55:11 (GMT)
committerDan Williams <dan.j.williams@intel.com>2011-07-03 10:55:30 (GMT)
commit07373a5caa29e4159ef1ea5e72985ddaf013519a (patch)
tree0ea13c0ede1012dec6e6d491ed181418e62453ee /drivers/scsi/isci/firmware
parent8db37aabaceb3dcd18754c1e782d4474e4052c81 (diff)
downloadlinux-fsl-qoriq-07373a5caa29e4159ef1ea5e72985ddaf013519a.tar.xz
isci: add support for 2 more oem parmeters
1/ add OEM paramater support for mode_type (MPC vs APC) 2/ add OEM parameter support for max_number_concurrent_device_spin_up 3/ cleanup scic_sds_controller_start_next_phy todo: hook up the amp control afe parameters into the afe init code Signed-off-by: Henryk Dembkowski <henryk.dembkowski@intel.com> Signed-off-by: Jacek Danecki <Jacek.Danecki@intel.com> [cleaned up scic_sds_controller_start_next_phy] Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/firmware')
-rw-r--r--drivers/scsi/isci/firmware/create_fw.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/scsi/isci/firmware/create_fw.h b/drivers/scsi/isci/firmware/create_fw.h
index bedbe4f..788a8de 100644
--- a/drivers/scsi/isci/firmware/create_fw.h
+++ b/drivers/scsi/isci/firmware/create_fw.h
@@ -1,5 +1,6 @@
#ifndef _CREATE_FW_H_
#define _CREATE_FW_H_
+#include "../probe_roms.h"
/* we are configuring for 2 SCUs */
@@ -24,16 +25,16 @@ static const int num_elements = 2;
* if there is a port/phy on which you do not wish to override the default
* values, use the value assigned to UNINIT_PARAM (255).
*/
+/* discovery mode type (port auto config mode by default ) */
#ifdef MPC
+static const int mode_type = SCIC_PORT_MANUAL_CONFIGURATION_MODE;
static const __u8 phy_mask[2][4] = { {1, 2, 4, 8},
{1, 2, 4, 8} };
#else /* APC (default) */
+static const int mode_type = SCIC_PORT_AUTOMATIC_CONFIGURATION_MODE;
static const __u8 phy_mask[2][4];
#endif
-/* discovery mode type (port auto config mode by default ) */
-static const int mode_type;
-
/* Maximum number of concurrent device spin up */
static const int max_num_concurrent_dev_spin_up = 1;