aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/firmware/create_fw.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/isci/firmware/create_fw.h')
-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 bedbe4fad181..788a8de0c2bc 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;

Privacy Policy