/* * Copyright 2000-2020 Broadcom Inc. All rights reserved. * * * Name: mpi2_pci.h * Title: MPI PCIe Attached Devices structures and definitions. * Creation Date: October 9, 2012 * * mpi2_pci.h Version: 02.00.04 * * NOTE: Names (typedefs, defines, etc.) beginning with an MPI25 or Mpi25 * prefix are for use only on MPI v2.5 products, and must not be used * with MPI v2.0 products. Unless otherwise noted, names beginning with * MPI2 or Mpi2 are for use with both MPI v2.0 and MPI v2.5 products. * * Version History * --------------- * * Date Version Description * -------- -------- ------------------------------------------------------ * 03-16-15 02.00.00 Initial version. * 02-17-16 02.00.01 Removed AHCI support. * Removed SOP support. * 07-01-16 02.00.02 Added MPI26_NVME_FLAGS_FORCE_ADMIN_ERR_RESP to * NVME Encapsulated Request. * 07-22-18 02.00.03 Updted flags field for NVME Encapsulated req * 12-17-18 02.00.04 Added MPI26_PCIE_DEVINFO_SCSI * Shortten some defines to be compatible with DOS * -------------------------------------------------------------------------- */ #ifndef MPI2_PCI_H #define MPI2_PCI_H /* *Values for the PCIe DeviceInfo field used in PCIe Device Status Change Event *data and PCIe Configuration pages. */ #define MPI26_PCIE_DEVINFO_DIRECT_ATTACH … #define MPI26_PCIE_DEVINFO_MASK_DEVICE_TYPE … #define MPI26_PCIE_DEVINFO_NO_DEVICE … #define MPI26_PCIE_DEVINFO_PCI_SWITCH … #define MPI26_PCIE_DEVINFO_NVME … #define MPI26_PCIE_DEVINFO_SCSI … /**************************************************************************** * NVMe Encapsulated message ****************************************************************************/ /*NVME Encapsulated Request Message */ pMpi26NVMeEncapsulatedRequest_t; /*defines for the Flags field */ #define MPI26_NVME_FLAGS_FORCE_ADMIN_ERR_RESP … /*Submission Queue Type*/ #define MPI26_NVME_FLAGS_SUBMISSIONQ_MASK … #define MPI26_NVME_FLAGS_SUBMISSIONQ_IO … #define MPI26_NVME_FLAGS_SUBMISSIONQ_ADMIN … /*Error Response Address Space */ #define MPI26_NVME_FLAGS_ERR_RSP_ADDR_MASK … #define MPI26_NVME_FLAGS_ERR_RSP_ADDR_SYSTEM … #define MPI26_NVME_FLAGS_ERR_RSP_ADDR_IOCTL … /* Data Direction*/ #define MPI26_NVME_FLAGS_DATADIRECTION_MASK … #define MPI26_NVME_FLAGS_NODATATRANSFER … #define MPI26_NVME_FLAGS_WRITE … #define MPI26_NVME_FLAGS_READ … #define MPI26_NVME_FLAGS_BIDIRECTIONAL … /*NVMe Encapuslated Reply Message */ pMpi26NVMeEncapsulatedErrorReply_t; #endif