aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt3sas/mpi/mpi2_tool.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2019-09-21 13:50:15 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2019-09-21 13:50:15 -0400
commit10fd71780f7d155f4e35fecfad0ebd4a725a244b (patch)
treeb88976120fd8f620669ed239842ea26ecc2c5e52 /drivers/scsi/mpt3sas/mpi/mpi2_tool.h
parent3e414b5bd28f965fb39b9e9419d877df0cf3111a (diff)
parente74006edd0d42b45ff37ae4ae13c614cfa30056b (diff)
Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi
Pull SCSI updates from James Bottomley: "This is mostly update of the usual drivers: qla2xxx, ufs, smartpqi, lpfc, hisi_sas, qedf, mpt3sas; plus a whole load of minor updates. The only core change this time around is the addition of request batching for virtio. Since batching requires an additional flag to use, it should be invisible to the rest of the drivers" * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (264 commits) scsi: hisi_sas: Fix the conflict between device gone and host reset scsi: hisi_sas: Add BIST support for phy loopback scsi: hisi_sas: Add hisi_sas_debugfs_alloc() to centralise allocation scsi: hisi_sas: Remove some unused function arguments scsi: hisi_sas: Remove redundant work declaration scsi: hisi_sas: Remove hisi_sas_hw.slot_complete scsi: hisi_sas: Assign NCQ tag for all NCQ commands scsi: hisi_sas: Update all the registers after suspend and resume scsi: hisi_sas: Retry 3 times TMF IO for SAS disks when init device scsi: hisi_sas: Remove sleep after issue phy reset if sas_smp_phy_control() fails scsi: hisi_sas: Directly return when running I_T_nexus reset if phy disabled scsi: hisi_sas: Use true/false as input parameter of sas_phy_reset() scsi: hisi_sas: add debugfs auto-trigger for internal abort time out scsi: virtio_scsi: unplug LUNs when events missed scsi: scsi_dh_rdac: zero cdb in send_mode_select() scsi: fcoe: fix null-ptr-deref Read in fc_release_transport scsi: ufs-hisi: use devm_platform_ioremap_resource() to simplify code scsi: ufshcd: use devm_platform_ioremap_resource() to simplify code scsi: hisi_sas: use devm_platform_ioremap_resource() to simplify code scsi: ufs: Use kmemdup in ufshcd_read_string_desc() ...
Diffstat (limited to 'drivers/scsi/mpt3sas/mpi/mpi2_tool.h')
-rw-r--r--drivers/scsi/mpt3sas/mpi/mpi2_tool.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/drivers/scsi/mpt3sas/mpi/mpi2_tool.h b/drivers/scsi/mpt3sas/mpi/mpi2_tool.h
index 3f966b6796b3..17ef7f63b938 100644
--- a/drivers/scsi/mpt3sas/mpi/mpi2_tool.h
+++ b/drivers/scsi/mpt3sas/mpi/mpi2_tool.h
@@ -7,7 +7,7 @@
7 * Title: MPI diagnostic tool structures and definitions 7 * Title: MPI diagnostic tool structures and definitions
8 * Creation Date: March 26, 2007 8 * Creation Date: March 26, 2007
9 * 9 *
10 * mpi2_tool.h Version: 02.00.15 10 * mpi2_tool.h Version: 02.00.16
11 * 11 *
12 * Version History 12 * Version History
13 * --------------- 13 * ---------------
@@ -40,6 +40,7 @@
40 * Tool Request Message. 40 * Tool Request Message.
41 * 07-22-18 02.00.15 Added defines for new TOOLBOX_PCIE_LANE_MARGINING tool. 41 * 07-22-18 02.00.15 Added defines for new TOOLBOX_PCIE_LANE_MARGINING tool.
42 * Added option for DeviceInfo field in ISTWI tool. 42 * Added option for DeviceInfo field in ISTWI tool.
43 * 12-17-18 02.00.16 Shorten some defines to be compatible with DOS.
43 * -------------------------------------------------------------------------- 44 * --------------------------------------------------------------------------
44 */ 45 */
45 46
@@ -230,11 +231,11 @@ typedef struct _MPI2_TOOLBOX_ISTWI_READ_WRITE_REQUEST {
230#define MPI2_TOOL_ISTWI_FLAG_PAGE_ADDR_MASK (0x07) 231#define MPI2_TOOL_ISTWI_FLAG_PAGE_ADDR_MASK (0x07)
231 232
232/*MPI26 TOOLBOX Request MsgFlags defines */ 233/*MPI26 TOOLBOX Request MsgFlags defines */
233#define MPI26_TOOLBOX_REQ_MSGFLAGS_ADDRESSING_MASK (0x01) 234#define MPI26_TOOL_ISTWI_MSGFLG_ADDR_MASK (0x01)
234/*Request uses Man Page 43 device index addressing */ 235/*Request uses Man Page 43 device index addressing */
235#define MPI26_TOOLBOX_REQ_MSGFLAGS_ADDRESSING_DEVINDEX (0x00) 236#define MPI26_TOOL_ISTWI_MSGFLG_ADDR_INDEX (0x00)
236/*Request uses Man Page 43 device info struct addressing */ 237/*Request uses Man Page 43 device info struct addressing */
237#define MPI26_TOOLBOX_REQ_MSGFLAGS_ADDRESSING_DEVINFO (0x01) 238#define MPI26_TOOL_ISTWI_MSGFLG_ADDR_INFO (0x01)
238 239
239/*Toolbox ISTWI Read Write Tool reply message */ 240/*Toolbox ISTWI Read Write Tool reply message */
240typedef struct _MPI2_TOOLBOX_ISTWI_REPLY { 241typedef struct _MPI2_TOOLBOX_ISTWI_REPLY {
@@ -403,7 +404,7 @@ Mpi2ToolboxTextDisplayRequest_t,
403 */ 404 */
404 405
405/*Toolbox Backend Lane Margining Tool request message */ 406/*Toolbox Backend Lane Margining Tool request message */
406typedef struct _MPI26_TOOLBOX_LANE_MARGINING_REQUEST { 407typedef struct _MPI26_TOOLBOX_LANE_MARGIN_REQUEST {
407 U8 Tool; /*0x00 */ 408 U8 Tool; /*0x00 */
408 U8 Reserved1; /*0x01 */ 409 U8 Reserved1; /*0x01 */
409 U8 ChainOffset; /*0x02 */ 410 U8 ChainOffset; /*0x02 */
@@ -434,7 +435,7 @@ typedef struct _MPI26_TOOLBOX_LANE_MARGINING_REQUEST {
434 435
435 436
436/*Toolbox Backend Lane Margining Tool reply message */ 437/*Toolbox Backend Lane Margining Tool reply message */
437typedef struct _MPI26_TOOLBOX_LANE_MARGINING_REPLY { 438typedef struct _MPI26_TOOLBOX_LANE_MARGIN_REPLY {
438 U8 Tool; /*0x00 */ 439 U8 Tool; /*0x00 */
439 U8 Reserved1; /*0x01 */ 440 U8 Reserved1; /*0x01 */
440 U8 MsgLength; /*0x02 */ 441 U8 MsgLength; /*0x02 */