⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mpi_targ.h

📁 linux-2.6.15.6
💻 H
📖 第 1 页 / 共 3 页
字号:
} MSG_TARGET_CMD_BUFFER_POST_BASE_LIST_REPLY,  MPI_POINTER PTR_MSG_TARGET_CMD_BUFFER_POST_BASE_LIST_REPLY,  TargetCmdBufferPostBaseListReply_t,  MPI_POINTER pTargetCmdBufferPostBaseListReply_t;/****************************************************************************//* Target Command Buffer Post List Request                                  *//****************************************************************************/typedef struct _MSG_TARGET_CMD_BUF_POST_LIST_REQUEST{    U8                      Reserved;                   /* 00h */    U8                      PortNumber;                 /* 01h */    U8                      ChainOffset;                /* 02h */    U8                      Function;                   /* 03h */    U16                     CmdBufferCount;             /* 04h */    U8                      Reserved1;                  /* 06h */    U8                      MsgFlags;                   /* 07h */    U32                     MsgContext;                 /* 08h */    U32                     Reserved2;                  /* 0Ch */    U16                     IoIndex[2];                 /* 10h */} MSG_TARGET_CMD_BUF_POST_LIST_REQUEST,  MPI_POINTER PTR_MSG_TARGET_CMD_BUF_POST_LIST_REQUEST,  TargetCmdBufferPostListRequest_t,  MPI_POINTER pTargetCmdBufferPostListRequest_t;/****************************************************************************//* Command Buffer Formats (with 16 byte CDB)                                *//****************************************************************************/typedef struct _MPI_TARGET_FCP_CMD_BUFFER{    U8      FcpLun[8];                                  /* 00h */    U8      FcpCntl[4];                                 /* 08h */    U8      FcpCdb[16];                                 /* 0Ch */    U32     FcpDl;                                      /* 1Ch */    U8      AliasIndex;                                 /* 20h */    U8      Reserved1;                                  /* 21h */    U16     OptionalOxid;                               /* 22h */} MPI_TARGET_FCP_CMD_BUFFER, MPI_POINTER PTR_MPI_TARGET_FCP_CMD_BUFFER,  MpiTargetFcpCmdBuffer, MPI_POINTER pMpiTargetFcpCmdBuffer;typedef struct _MPI_TARGET_SCSI_SPI_CMD_BUFFER{    /* SPI L_Q information unit */    U8      L_QType;                                    /* 00h */    U8      Reserved;                                   /* 01h */    U16     Tag;                                        /* 02h */    U8      LogicalUnitNumber[8];                       /* 04h */    U32     DataLength;                                 /* 0Ch */    /* SPI command information unit */    U8      ReservedFirstByteOfCommandIU;               /* 10h */    U8      TaskAttribute;                              /* 11h */    U8      TaskManagementFlags;                        /* 12h */    U8      AdditionalCDBLength;                        /* 13h */    U8      CDB[16];                                    /* 14h */    /* Alias ID */    U8      AliasID;                                    /* 24h */    U8      Reserved1;                                  /* 25h */    U16     Reserved2;                                  /* 26h */} MPI_TARGET_SCSI_SPI_CMD_BUFFER,  MPI_POINTER PTR_MPI_TARGET_SCSI_SPI_CMD_BUFFER,  MpiTargetScsiSpiCmdBuffer, MPI_POINTER pMpiTargetScsiSpiCmdBuffer;typedef struct _MPI_TARGET_SSP_CMD_BUFFER{    U8      FrameType;                                  /* 00h */    U8      Reserved1;                                  /* 01h */    U16     Reserved2;                                  /* 02h */    U16     InitiatorTag;                               /* 04h */    U16     DevHandle;                                  /* 06h */    /* COMMAND information unit starts here */    U8      LogicalUnitNumber[8];                       /* 08h */    U8      Reserved3;                                  /* 10h */    U8      TaskAttribute; /* lower 3 bits */           /* 11h */    U8      Reserved4;                                  /* 12h */    U8      AdditionalCDBLength; /* upper 5 bits */     /* 13h */    U8      CDB[16];                                    /* 14h */    /* Additional CDB bytes extend past the CDB field */} MPI_TARGET_SSP_CMD_BUFFER, MPI_POINTER PTR_MPI_TARGET_SSP_CMD_BUFFER,  MpiTargetSspCmdBuffer, MPI_POINTER pMpiTargetSspCmdBuffer;typedef struct _MPI_TARGET_SSP_TASK_BUFFER{    U8      FrameType;                                  /* 00h */    U8      Reserved1;                                  /* 01h */    U16     Reserved2;                                  /* 02h */    U16     InitiatorTag;                               /* 04h */    U16     DevHandle;                                  /* 06h */    /* TASK information unit starts here */    U8      LogicalUnitNumber[8];                       /* 08h */    U8      Reserved3;                                  /* 10h */    U8      Reserved4;                                  /* 11h */    U8      TaskManagementFunction;                     /* 12h */    U8      Reserved5;                                  /* 13h */    U16     ManagedTaskTag;                             /* 14h */    U16     Reserved6;                                  /* 16h */    U32     Reserved7;                                  /* 18h */    U32     Reserved8;                                  /* 1Ch */    U32     Reserved9;                                  /* 20h */} MPI_TARGET_SSP_TASK_BUFFER, MPI_POINTER PTR_MPI_TARGET_SSP_TASK_BUFFER,  MpiTargetSspTaskBuffer, MPI_POINTER pMpiTargetSspTaskBuffer;/****************************************************************************//* Target Assist Request                                                    *//****************************************************************************/typedef struct _MSG_TARGET_ASSIST_REQUEST{    U8                      StatusCode;                 /* 00h */    U8                      TargetAssistFlags;          /* 01h */    U8                      ChainOffset;                /* 02h */    U8                      Function;                   /* 03h */    U16                     QueueTag;                   /* 04h */    U8                      Reserved;                   /* 06h */    U8                      MsgFlags;                   /* 07h */    U32                     MsgContext;                 /* 08h */    U32                     ReplyWord;                  /* 0Ch */    U8                      LUN[8];                     /* 10h */    U32                     RelativeOffset;             /* 18h */    U32                     DataLength;                 /* 1Ch */    SGE_IO_UNION            SGL[1];                     /* 20h */} MSG_TARGET_ASSIST_REQUEST, MPI_POINTER PTR_MSG_TARGET_ASSIST_REQUEST,  TargetAssistRequest_t, MPI_POINTER pTargetAssistRequest_t;#define TARGET_ASSIST_FLAGS_DATA_DIRECTION          (0x01)#define TARGET_ASSIST_FLAGS_AUTO_STATUS             (0x02)#define TARGET_ASSIST_FLAGS_HIGH_PRIORITY           (0x04)#define TARGET_ASSIST_FLAGS_CONFIRMED               (0x08)#define TARGET_ASSIST_FLAGS_REPOST_CMD_BUFFER       (0x80)typedef struct _MSG_TARGET_ERROR_REPLY{    U16                     Reserved;                   /* 00h */    U8                      MsgLength;                  /* 02h */    U8                      Function;                   /* 03h */    U16                     Reserved1;                  /* 04h */    U8                      Reserved2;                  /* 06h */    U8                      MsgFlags;                   /* 07h */    U32                     MsgContext;                 /* 08h */    U8                      PriorityReason;             /* 0Ch */    U8                      Reserved3;                  /* 0Dh */    U16                     IOCStatus;                  /* 0Eh */    U32                     IOCLogInfo;                 /* 10h */    U32                     ReplyWord;                  /* 14h */    U32                     TransferCount;              /* 18h */} MSG_TARGET_ERROR_REPLY, MPI_POINTER PTR_MSG_TARGET_ERROR_REPLY,  TargetErrorReply_t, MPI_POINTER pTargetErrorReply_t;/****************************************************************************//* Target Assist Extended Request                                           *//****************************************************************************/typedef struct _MSG_TARGET_ASSIST_EXT_REQUEST{    U8                      StatusCode;                     /* 00h */    U8                      TargetAssistFlags;              /* 01h */    U8                      ChainOffset;                    /* 02h */    U8                      Function;                       /* 03h */    U16                     QueueTag;                       /* 04h */    U8                      Reserved1;                      /* 06h */    U8                      MsgFlags;                       /* 07h */    U32                     MsgContext;                     /* 08h */    U32                     ReplyWord;                      /* 0Ch */    U8                      LUN[8];                         /* 10h */    U32                     RelativeOffset;                 /* 18h */    U32                     Reserved2;                      /* 1Ch */    U32                     Reserved3;                      /* 20h */    U32                     PrimaryReferenceTag;            /* 24h */    U16                     PrimaryApplicationTag;          /* 28h */    U16                     PrimaryApplicationTagMask;      /* 2Ah */    U32                     Reserved4;                      /* 2Ch */    U32                     DataLength;                     /* 30h */    U32                     BidirectionalDataLength;        /* 34h */    U32                     SecondaryReferenceTag;          /* 38h */    U16                     SecondaryApplicationTag;        /* 3Ch */    U16                     Reserved5;                      /* 3Eh */    U16                     EEDPFlags;                      /* 40h */    U16                     ApplicationTagTranslationMask;  /* 42h */    U32                     EEDPBlockSize;                  /* 44h */    U8                      SGLOffset0;                     /* 48h */    U8                      SGLOffset1;                     /* 49h */    U8                      SGLOffset2;                     /* 4Ah */    U8                      SGLOffset3;                     /* 4Bh */    U32                     Reserved6;                      /* 4Ch */    SGE_IO_UNION            SGL[1];                         /* 50h */} MSG_TARGET_ASSIST_EXT_REQUEST, MPI_POINTER PTR_MSG_TARGET_ASSIST_EXT_REQUEST,  TargetAssistExtRequest_t, MPI_POINTER pTargetAssistExtRequest_t;/* see the defines after MSG_TARGET_ASSIST_REQUEST for TargetAssistFlags *//* defines for the MsgFlags field */#define TARGET_ASSIST_EXT_MSGFLAGS_BIDIRECTIONAL        (0x20)#define TARGET_ASSIST_EXT_MSGFLAGS_MULTICAST            (0x10)#define TARGET_ASSIST_EXT_MSGFLAGS_SGL_OFFSET_CHAINS    (0x08)/* defines for the EEDPFlags field */#define TARGET_ASSIST_EXT_EEDP_MASK_OP          (0x0007)#define TARGET_ASSIST_EXT_EEDP_NOOP_OP          (0x0000)#define TARGET_ASSIST_EXT_EEDP_CHK_OP           (0x0001)#define TARGET_ASSIST_EXT_EEDP_STRIP_OP         (0x0002)#define TARGET_ASSIST_EXT_EEDP_CHKRM_OP         (0x0003)#define TARGET_ASSIST_EXT_EEDP_INSERT_OP        (0x0004)#define TARGET_ASSIST_EXT_EEDP_REPLACE_OP       (0x0006)#define TARGET_ASSIST_EXT_EEDP_CHKREGEN_OP      (0x0007)#define TARGET_ASSIST_EXT_EEDP_PASS_REF_TAG     (0x0008)#define TARGET_ASSIST_EXT_EEDP_T10_CHK_MASK     (0x0700)#define TARGET_ASSIST_EXT_EEDP_T10_CHK_GUARD    (0x0100)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -