|
@@ -725,6 +725,7 @@ typedef void (*MPT2SAS_FLUSH_RUNNING_CMDS)(struct MPT2SAS_ADAPTER *ioc);
|
|
|
* @ioc_pg8: static ioc page 8
|
|
|
* @iounit_pg0: static iounit page 0
|
|
|
* @iounit_pg1: static iounit page 1
|
|
|
+ * @iounit_pg8: static iounit page 8
|
|
|
* @sas_hba: sas host object
|
|
|
* @sas_expander_list: expander object list
|
|
|
* @sas_node_lock:
|
|
@@ -795,6 +796,7 @@ typedef void (*MPT2SAS_FLUSH_RUNNING_CMDS)(struct MPT2SAS_ADAPTER *ioc);
|
|
|
* @reply_post_host_index: head index in the pool where FW completes IO
|
|
|
* @delayed_tr_list: target reset link list
|
|
|
* @delayed_tr_volume_list: volume target reset link list
|
|
|
+ * @@temp_sensors_count: flag to carry the number of temperature sensors
|
|
|
*/
|
|
|
struct MPT2SAS_ADAPTER {
|
|
|
struct list_head list;
|
|
@@ -892,6 +894,7 @@ struct MPT2SAS_ADAPTER {
|
|
|
Mpi2IOCPage8_t ioc_pg8;
|
|
|
Mpi2IOUnitPage0_t iounit_pg0;
|
|
|
Mpi2IOUnitPage1_t iounit_pg1;
|
|
|
+ Mpi2IOUnitPage8_t iounit_pg8;
|
|
|
|
|
|
struct _boot_device req_boot_device;
|
|
|
struct _boot_device req_alt_boot_device;
|
|
@@ -992,6 +995,7 @@ struct MPT2SAS_ADAPTER {
|
|
|
|
|
|
struct list_head delayed_tr_list;
|
|
|
struct list_head delayed_tr_volume_list;
|
|
|
+ u8 temp_sensors_count;
|
|
|
|
|
|
/* diag buffer support */
|
|
|
u8 *diag_buffer[MPI2_DIAG_BUF_TYPE_COUNT];
|
|
@@ -1120,6 +1124,8 @@ int mpt2sas_config_get_iounit_pg1(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t
|
|
|
*mpi_reply, Mpi2IOUnitPage1_t *config_page);
|
|
|
int mpt2sas_config_set_iounit_pg1(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t
|
|
|
*mpi_reply, Mpi2IOUnitPage1_t *config_page);
|
|
|
+int mpt2sas_config_get_iounit_pg8(struct MPT2SAS_ADAPTER *ioc,
|
|
|
+ Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage8_t *config_page);
|
|
|
int mpt2sas_config_get_iounit_pg3(struct MPT2SAS_ADAPTER *ioc,
|
|
|
Mpi2ConfigReply_t *mpi_reply, Mpi2IOUnitPage3_t *config_page, u16 sz);
|
|
|
int mpt2sas_config_get_sas_iounit_pg1(struct MPT2SAS_ADAPTER *ioc, Mpi2ConfigReply_t
|