.. | .. |
---|
1 | 1 | /* |
---|
2 | | - * Copyright 2012-2015 Avago Technologies. All rights reserved. |
---|
| 2 | + * Copyright 2000-2020 Broadcom Inc. All rights reserved. |
---|
3 | 3 | * |
---|
4 | 4 | * |
---|
5 | 5 | * Name: mpi2_pci.h |
---|
6 | 6 | * Title: MPI PCIe Attached Devices structures and definitions. |
---|
7 | 7 | * Creation Date: October 9, 2012 |
---|
8 | 8 | * |
---|
9 | | - * mpi2_pci.h Version: 02.00.02 |
---|
| 9 | + * mpi2_pci.h Version: 02.00.04 |
---|
10 | 10 | * |
---|
11 | 11 | * NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mpi25 |
---|
12 | 12 | * prefix are for use only on MPI v2.5 products, and must not be used |
---|
.. | .. |
---|
23 | 23 | * Removed SOP support. |
---|
24 | 24 | * 07-01-16 02.00.02 Added MPI26_NVME_FLAGS_FORCE_ADMIN_ERR_RESP to |
---|
25 | 25 | * NVME Encapsulated Request. |
---|
| 26 | + * 07-22-18 02.00.03 Updted flags field for NVME Encapsulated req |
---|
| 27 | + * 12-17-18 02.00.04 Added MPI26_PCIE_DEVINFO_SCSI |
---|
| 28 | + * Shortten some defines to be compatible with DOS |
---|
26 | 29 | * -------------------------------------------------------------------------- |
---|
27 | 30 | */ |
---|
28 | 31 | |
---|
.. | .. |
---|
40 | 43 | #define MPI26_PCIE_DEVINFO_NO_DEVICE (0x00000000) |
---|
41 | 44 | #define MPI26_PCIE_DEVINFO_PCI_SWITCH (0x00000001) |
---|
42 | 45 | #define MPI26_PCIE_DEVINFO_NVME (0x00000003) |
---|
43 | | - |
---|
| 46 | +#define MPI26_PCIE_DEVINFO_SCSI (0x00000004) |
---|
44 | 47 | |
---|
45 | 48 | /**************************************************************************** |
---|
46 | 49 | * NVMe Encapsulated message |
---|
.. | .. |
---|
74 | 77 | #define MPI26_NVME_FLAGS_SUBMISSIONQ_IO (0x0000) |
---|
75 | 78 | #define MPI26_NVME_FLAGS_SUBMISSIONQ_ADMIN (0x0010) |
---|
76 | 79 | /*Error Response Address Space */ |
---|
77 | | -#define MPI26_NVME_FLAGS_MASK_ERROR_RSP_ADDR (0x000C) |
---|
78 | | -#define MPI26_NVME_FLAGS_SYSTEM_RSP_ADDR (0x0000) |
---|
79 | | -#define MPI26_NVME_FLAGS_IOCPLB_RSP_ADDR (0x0008) |
---|
80 | | -#define MPI26_NVME_FLAGS_IOCPLBNTA_RSP_ADDR (0x000C) |
---|
81 | | -/*Data Direction*/ |
---|
| 80 | +#define MPI26_NVME_FLAGS_ERR_RSP_ADDR_MASK (0x000C) |
---|
| 81 | +#define MPI26_NVME_FLAGS_ERR_RSP_ADDR_SYSTEM (0x0000) |
---|
| 82 | +#define MPI26_NVME_FLAGS_ERR_RSP_ADDR_IOCTL (0x0008) |
---|
| 83 | +/* Data Direction*/ |
---|
82 | 84 | #define MPI26_NVME_FLAGS_DATADIRECTION_MASK (0x0003) |
---|
83 | 85 | #define MPI26_NVME_FLAGS_NODATATRANSFER (0x0000) |
---|
84 | 86 | #define MPI26_NVME_FLAGS_WRITE (0x0001) |
---|