OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [drivers/] [message/] [fusion/] [lsi/] [mpi_tool.h] - Blame information for rev 1774

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
/*
2
 *  Copyright (c) 2001 LSI Logic Corporation.
3
 *
4
 *
5
 *           Name:  MPI_TOOL.H
6
 *          Title:  MPI Toolbox structures and definitions
7
 *  Creation Date:  July 30, 2001
8
 *
9
 *    MPI Version:  01.02.02
10
 *
11
 *  Version History
12
 *  ---------------
13
 *
14
 *  Date      Version   Description
15
 *  --------  --------  ------------------------------------------------------
16
 *  08-08-01  01.02.01  Original release.
17
 *  08-29-01  01.02.02  Added DIAG_DATA_UPLOAD_HEADER and related defines.
18
 *  --------------------------------------------------------------------------
19
 */
20
 
21
#ifndef MPI_TOOL_H
22
#define MPI_TOOL_H
23
 
24
#define MPI_TOOLBOX_CLEAN_TOOL                      (0x00)
25
#define MPI_TOOLBOX_MEMORY_MOVE_TOOL                (0x01)
26
#define MPI_TOOLBOX_DIAG_DATA_UPLOAD_TOOL           (0x02)
27
 
28
 
29
/****************************************************************************/
30
/* Toolbox reply                                                            */
31
/****************************************************************************/
32
 
33
typedef struct _MSG_TOOLBOX_REPLY
34
{
35
    U8                      Tool;                       /* 00h */
36
    U8                      Reserved;                   /* 01h */
37
    U8                      MsgLength;                  /* 02h */
38
    U8                      Function;                   /* 03h */
39
    U16                     Reserved1;                  /* 04h */
40
    U8                      Reserved2;                  /* 06h */
41
    U8                      MsgFlags;                   /* 07h */
42
    U32                     MsgContext;                 /* 08h */
43
    U16                     Reserved3;                  /* 0Ch */
44
    U16                     IOCStatus;                  /* 0Eh */
45
    U32                     IOCLogInfo;                 /* 10h */
46
} MSG_TOOLBOX_REPLY, MPI_POINTER PTR_MSG_TOOLBOX_REPLY,
47
  ToolboxReply_t, MPI_POINTER pToolboxReply_t;
48
 
49
 
50
/****************************************************************************/
51
/* Toolbox Clean Tool request                                               */
52
/****************************************************************************/
53
 
54
typedef struct _MSG_TOOLBOX_CLEAN_REQUEST
55
{
56
    U8                      Tool;                       /* 00h */
57
    U8                      Reserved;                   /* 01h */
58
    U8                      ChainOffset;                /* 02h */
59
    U8                      Function;                   /* 03h */
60
    U16                     Reserved1;                  /* 04h */
61
    U8                      Reserved2;                  /* 06h */
62
    U8                      MsgFlags;                   /* 07h */
63
    U32                     MsgContext;                 /* 08h */
64
    U32                     Flags;                      /* 0Ch */
65
} MSG_TOOLBOX_CLEAN_REQUEST, MPI_POINTER PTR_MSG_TOOLBOX_CLEAN_REQUEST,
66
  ToolboxCleanRequest_t, MPI_POINTER pToolboxCleanRequest_t;
67
 
68
#define MPI_TOOLBOX_CLEAN_NVSRAM                    (0x00000001)
69
#define MPI_TOOLBOX_CLEAN_SEEPROM                   (0x00000002)
70
#define MPI_TOOLBOX_CLEAN_FLASH                     (0x00000004)
71
 
72
 
73
/****************************************************************************/
74
/* Toolbox Memory Move request                                              */
75
/****************************************************************************/
76
 
77
typedef struct _MSG_TOOLBOX_MEM_MOVE_REQUEST
78
{
79
    U8                      Tool;                       /* 00h */
80
    U8                      Reserved;                   /* 01h */
81
    U8                      ChainOffset;                /* 02h */
82
    U8                      Function;                   /* 03h */
83
    U16                     Reserved1;                  /* 04h */
84
    U8                      Reserved2;                  /* 06h */
85
    U8                      MsgFlags;                   /* 07h */
86
    U32                     MsgContext;                 /* 08h */
87
    SGE_SIMPLE_UNION        SGL;                        /* 0Ch */
88
} MSG_TOOLBOX_MEM_MOVE_REQUEST, MPI_POINTER PTR_MSG_TOOLBOX_MEM_MOVE_REQUEST,
89
  ToolboxMemMoveRequest_t, MPI_POINTER pToolboxMemMoveRequest_t;
90
 
91
 
92
/****************************************************************************/
93
/* Toolbox Diagnostic Data Upload request                                   */
94
/****************************************************************************/
95
 
96
typedef struct _MSG_TOOLBOX_DIAG_DATA_UPLOAD_REQUEST
97
{
98
    U8                      Tool;                       /* 00h */
99
    U8                      Reserved;                   /* 01h */
100
    U8                      ChainOffset;                /* 02h */
101
    U8                      Function;                   /* 03h */
102
    U16                     Reserved1;                  /* 04h */
103
    U8                      Reserved2;                  /* 06h */
104
    U8                      MsgFlags;                   /* 07h */
105
    U32                     MsgContext;                 /* 08h */
106
    U32                     Flags;                      /* 0Ch */
107
    U32                     Reserved3;                  /* 10h */
108
    SGE_SIMPLE_UNION        SGL;                        /* 14h */
109
} MSG_TOOLBOX_DIAG_DATA_UPLOAD_REQUEST, MPI_POINTER PTR_MSG_TOOLBOX_DIAG_DATA_UPLOAD_REQUEST,
110
  ToolboxDiagDataUploadRequest_t, MPI_POINTER pToolboxDiagDataUploadRequest_t;
111
 
112
typedef struct _DIAG_DATA_UPLOAD_HEADER
113
{
114
    U32                     DiagDataLength;             /* 00h */
115
    U8                      FormatCode;                 /* 04h */
116
    U8                      Reserved;                   /* 05h */
117
    U16                     Reserved1;                  /* 06h */
118
} DIAG_DATA_UPLOAD_HEADER, MPI_POINTER PTR_DIAG_DATA_UPLOAD_HEADER,
119
  DiagDataUploadHeader_t, MPI_POINTER pDiagDataUploadHeader_t;
120
 
121
#define MPI_TB_DIAG_FORMAT_SCSI_PRINTF_1            (0x01)
122
#define MPI_TB_DIAG_FORMAT_SCSI_2                   (0x02)
123
#define MPI_TB_DIAG_FORMAT_SCSI_3                   (0x03)
124
#define MPI_TB_DIAG_FORMAT_FC_TRACE_1               (0x04)
125
 
126
 
127
#endif
128
 
129
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.