diff options
| author | Sreekanth Reddy <sreekanth.reddy@broadcom.com> | 2021-12-20 19:41:39 +0530 | 
|---|---|---|
| committer | Martin K. Petersen <martin.petersen@oracle.com> | 2021-12-23 00:04:22 -0500 | 
| commit | ec5ebd2c14a9123c0a8e2ae29202adf0ac242565 (patch) | |
| tree | 405fab533e113f47f13f07d5a46c73c443f47ea8 /drivers/scsi/mpi3mr/mpi/mpi30_init.h | |
| parent | d00ff7c31195e2f5098b2c034f547a83c30b8adb (diff) | |
scsi: mpi3mr: Update MPI3 headers - part2
Continued updating MPI3 headers.
Link: https://lore.kernel.org/r/20211220141159.16117-6-sreekanth.reddy@broadcom.com
Signed-off-by: Sreekanth Reddy <sreekanth.reddy@broadcom.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/mpi3mr/mpi/mpi30_init.h')
| -rw-r--r-- | drivers/scsi/mpi3mr/mpi/mpi30_init.h | 15 | 
1 files changed, 12 insertions, 3 deletions
| diff --git a/drivers/scsi/mpi3mr/mpi/mpi30_init.h b/drivers/scsi/mpi3mr/mpi/mpi30_init.h index e02b6d3cfba2..7a208dc81d49 100644 --- a/drivers/scsi/mpi3mr/mpi/mpi30_init.h +++ b/drivers/scsi/mpi3mr/mpi/mpi30_init.h @@ -13,7 +13,7 @@ struct mpi3_scsi_io_cdb_eedp32 {  	__le32             transfer_length;  }; -union mpi3_scso_io_cdb_union { +union mpi3_scsi_io_cdb_union {  	u8                         cdb32[32];  	struct mpi3_scsi_io_cdb_eedp32 eedp32;  	struct mpi3_sge_common         sge; @@ -32,11 +32,12 @@ struct mpi3_scsi_io_request {  	__le32                     skip_count;  	__le32                     data_length;  	u8                         lun[8]; -	union mpi3_scso_io_cdb_union  cdb; +	union mpi3_scsi_io_cdb_union  cdb;  	union mpi3_sge_union          sgl[4];  };  #define MPI3_SCSIIO_MSGFLAGS_METASGL_VALID                  (0x80) +#define MPI3_SCSIIO_MSGFLAGS_DIVERT_TO_FIRMWARE             (0x40)  #define MPI3_SCSIIO_FLAGS_LARGE_CDB                         (0x60000000)  #define MPI3_SCSIIO_FLAGS_CDB_16_OR_LESS                    (0x00000000)  #define MPI3_SCSIIO_FLAGS_CDB_GREATER_THAN_16               (0x20000000) @@ -155,5 +156,13 @@ struct mpi3_scsi_task_mgmt_reply {  	__le32                     reserved18;  }; -#define MPI3_SCSITASKMGMT_RSPCODE_IO_QUEUED_ON_IOC      (0x80) +#define MPI3_SCSITASKMGMT_RSPCODE_TM_COMPLETE                (0x00) +#define MPI3_SCSITASKMGMT_RSPCODE_INVALID_FRAME              (0x02) +#define MPI3_SCSITASKMGMT_RSPCODE_TM_FUNCTION_NOT_SUPPORTED  (0x04) +#define MPI3_SCSITASKMGMT_RSPCODE_TM_FAILED                  (0x05) +#define MPI3_SCSITASKMGMT_RSPCODE_TM_SUCCEEDED               (0x08) +#define MPI3_SCSITASKMGMT_RSPCODE_TM_INVALID_LUN             (0x09) +#define MPI3_SCSITASKMGMT_RSPCODE_TM_OVERLAPPED_TAG          (0x0a) +#define MPI3_SCSITASKMGMT_RSPCODE_IO_QUEUED_ON_IOC           (0x80) +#define MPI3_SCSITASKMGMT_RSPCODE_TM_NVME_DENIED             (0x81)  #endif | 
