]>
Commit | Line | Data |
---|---|---|
e59a797f DB |
1 | /** @file\r |
2 | IPMI 2.0 definitions from the IPMI Specification Version 2.0, Revision 1.1.\r | |
3 | IPMI Intelligent Chassis Management Bus Bridge Specification Version 1.0,\r | |
4 | Revision 1.3.\r | |
5 | \r | |
6 | See IPMI specification, Appendix G, Command Assignments\r | |
7 | and Appendix H, Sub-function Assignments.\r | |
8 | \r | |
9 | Copyright (c) 1999 - 2015, Intel Corporation. All rights reserved.<BR>\r | |
10 | This program and the accompanying materials\r | |
11 | are licensed and made available under the terms and conditions of the BSD License\r | |
12 | which accompanies this distribution. The full text of the license may be found at\r | |
13 | http://opensource.org/licenses/bsd-license.php\r | |
14 | \r | |
15 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
16 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
17 | **/\r | |
18 | \r | |
19 | #ifndef _IPMI_NET_FN_BRIDGE_H_\r | |
20 | #define _IPMI_NET_FN_BRIDGE_H_\r | |
21 | \r | |
22 | //\r | |
23 | // Net function definition for Bridge command\r | |
24 | //\r | |
25 | #define IPMI_NETFN_BRIDGE 0x02\r | |
26 | \r | |
27 | //\r | |
28 | // Definitions for Get Bridge State command\r | |
29 | //\r | |
30 | #define IPMI_BRIDGE_GET_STATE 0x00\r | |
31 | \r | |
32 | //\r | |
33 | // Constants and Structure definitions for "Get Bridge State" command to follow here\r | |
34 | //\r | |
35 | \r | |
36 | //\r | |
37 | // Definitions for Set Bridge State command\r | |
38 | //\r | |
39 | #define IPMI_BRIDGE_SET_STATE 0x01\r | |
40 | \r | |
41 | //\r | |
42 | // Constants and Structure definitions for "Set Bridge State" command to follow here\r | |
43 | //\r | |
44 | \r | |
45 | //\r | |
46 | // Definitions for Get ICMB Address command\r | |
47 | //\r | |
48 | #define IPMI_BRIDGE_GET_ICMB_ADDRESS 0x02\r | |
49 | \r | |
50 | //\r | |
51 | // Constants and Structure definitions for "Get ICMB Address" command to follow here\r | |
52 | //\r | |
53 | \r | |
54 | //\r | |
55 | // Definitions for Set ICMB Address command\r | |
56 | //\r | |
57 | #define IPMI_BRIDGE_SET_ICMB_ADDRESS 0x03\r | |
58 | \r | |
59 | //\r | |
60 | // Constants and Structure definitions for "Set ICMB Address" command to follow here\r | |
61 | //\r | |
62 | \r | |
63 | //\r | |
64 | // Definitions for Set Bridge Proxy Address command\r | |
65 | //\r | |
66 | #define IPMI_BRIDGE_SET_PROXY_ADDRESS 0x04\r | |
67 | \r | |
68 | //\r | |
69 | // Constants and Structure definitions for "Set Bridge Proxy Address" command to follow here\r | |
70 | //\r | |
71 | \r | |
72 | //\r | |
73 | // Definitions for Get Bridge Statistics command\r | |
74 | //\r | |
75 | #define IPMI_BRIDGE_GET_BRIDGE_STATISTICS 0x05\r | |
76 | \r | |
77 | //\r | |
78 | // Constants and Structure definitions for "Get Bridge Statistics" command to follow here\r | |
79 | //\r | |
80 | \r | |
81 | //\r | |
82 | // Definitions for Get ICMB Capabilities command\r | |
83 | //\r | |
84 | #define IPMI_BRIDGE_GET_ICMB_CAPABILITIES 0x06\r | |
85 | \r | |
86 | //\r | |
87 | // Constants and Structure definitions for "Get ICMB Capabilities" command to follow here\r | |
88 | //\r | |
89 | \r | |
90 | //\r | |
91 | // Definitions for Clear Bridge Statistics command\r | |
92 | //\r | |
93 | #define IPMI_BRIDGE_CLEAR_STATISTICS 0x08\r | |
94 | \r | |
95 | //\r | |
96 | // Constants and Structure definitions for "Clear Bridge Statistics" command to follow here\r | |
97 | //\r | |
98 | \r | |
99 | //\r | |
100 | // Definitions for Get Bridge Proxy Address command\r | |
101 | //\r | |
102 | #define IPMI_BRIDGE_GET_PROXY_ADDRESS 0x09\r | |
103 | \r | |
104 | //\r | |
105 | // Constants and Structure definitions for "Get Bridge Proxy Address" command to follow here\r | |
106 | //\r | |
107 | \r | |
108 | //\r | |
109 | // Definitions for Get ICMB Connector Info command\r | |
110 | //\r | |
111 | #define IPMI_BRIDGE_GET_ICMB_CONNECTOR_INFO 0x0A\r | |
112 | \r | |
113 | //\r | |
114 | // Constants and Structure definitions for "Get ICMB Connector Info " command to follow here\r | |
115 | //\r | |
116 | \r | |
117 | //\r | |
118 | // Definitions for Get ICMB Connection ID command\r | |
119 | //\r | |
120 | #define IPMI_BRIDGE_GET_ICMB_CONNECTION_ID 0x0B\r | |
121 | \r | |
122 | //\r | |
123 | // Constants and Structure definitions for "Get ICMB Connection ID" command to follow here\r | |
124 | //\r | |
125 | \r | |
126 | //\r | |
127 | // Definitions for Get ICMB Connection ID command\r | |
128 | //\r | |
129 | #define IPMI_BRIDGE_SEND_ICMB_CONNECTION_ID 0x0C\r | |
130 | \r | |
131 | //\r | |
132 | // Constants and Structure definitions for "Send ICMB Connection ID" command to follow here\r | |
133 | //\r | |
134 | \r | |
135 | //\r | |
136 | // Definitions for Prepare for Discoveery command\r | |
137 | //\r | |
138 | #define IPMI_BRIDGE_PREPARE_FOR_DISCOVERY 0x10\r | |
139 | \r | |
140 | //\r | |
141 | // Constants and Structure definitions for "Prepare for Discoveery" command to follow here\r | |
142 | //\r | |
143 | \r | |
144 | //\r | |
145 | // Definitions for Get Addresses command\r | |
146 | //\r | |
147 | #define IPMI_BRIDGE_GET_ADDRESSES 0x11\r | |
148 | \r | |
149 | //\r | |
150 | // Constants and Structure definitions for "Get Addresses" command to follow here\r | |
151 | //\r | |
152 | \r | |
153 | //\r | |
154 | // Definitions for Set Discovered command\r | |
155 | //\r | |
156 | #define IPMI_BRIDGE_SET_DISCOVERED 0x12\r | |
157 | \r | |
158 | //\r | |
159 | // Constants and Structure definitions for "Set Discovered" command to follow here\r | |
160 | //\r | |
161 | \r | |
162 | //\r | |
163 | // Definitions for Get Chassis Device ID command\r | |
164 | //\r | |
165 | #define IPMI_BRIDGE_GET_CHASSIS_DEVICEID 0x13\r | |
166 | \r | |
167 | //\r | |
168 | // Constants and Structure definitions for "Get Chassis Device ID" command to follow here\r | |
169 | //\r | |
170 | \r | |
171 | //\r | |
172 | // Definitions for Set Chassis Device ID command\r | |
173 | //\r | |
174 | #define IPMI_BRIDGE_SET_CHASSIS_DEVICEID 0x14\r | |
175 | \r | |
176 | //\r | |
177 | // Constants and Structure definitions for "Set Chassis Device ID" command to follow here\r | |
178 | //\r | |
179 | \r | |
180 | //\r | |
181 | // Definitions for Bridge Request command\r | |
182 | //\r | |
183 | #define IPMI_BRIDGE_REQUEST 0x20\r | |
184 | \r | |
185 | //\r | |
186 | // Constants and Structure definitions for "Bridge Request" command to follow here\r | |
187 | //\r | |
188 | \r | |
189 | //\r | |
190 | // Definitions for Bridge Message command\r | |
191 | //\r | |
192 | #define IPMI_BRIDGE_MESSAGE 0x21\r | |
193 | \r | |
194 | //\r | |
195 | // Constants and Structure definitions for "Bridge Message" command to follow here\r | |
196 | //\r | |
197 | \r | |
198 | //\r | |
199 | // Definitions for Get Event Count command\r | |
200 | //\r | |
201 | #define IPMI_BRIDGE_GET_EVENT_COUNT 0x30\r | |
202 | \r | |
203 | //\r | |
204 | // Constants and Structure definitions for "Get Event Count" command to follow here\r | |
205 | //\r | |
206 | \r | |
207 | //\r | |
208 | // Definitions for Set Event Destination command\r | |
209 | //\r | |
210 | #define IPMI_BRIDGE_SET_EVENT_DESTINATION 0x31\r | |
211 | \r | |
212 | //\r | |
213 | // Constants and Structure definitions for "Set Event Destination" command to follow here\r | |
214 | //\r | |
215 | \r | |
216 | //\r | |
217 | // Definitions for Set Event Reception State command\r | |
218 | //\r | |
219 | #define IPMI_BRIDGE_SET_EVENT_RECEPTION_STATE 0x32\r | |
220 | \r | |
221 | //\r | |
222 | // Constants and Structure definitions for "Set Event Reception State" command to follow here\r | |
223 | //\r | |
224 | \r | |
225 | //\r | |
226 | // Definitions for Set Event Reception State command\r | |
227 | //\r | |
228 | #define IPMI_BRIDGE_SET_EVENT_RECEPTION_STATE 0x32\r | |
229 | \r | |
230 | //\r | |
231 | // Constants and Structure definitions for "Set Event Reception State" command to follow here\r | |
232 | //\r | |
233 | \r | |
234 | //\r | |
235 | // Definitions for Send ICMB Event Message command\r | |
236 | //\r | |
237 | #define IPMI_BRIDGE_SEND_ICMB_EVENT_MESSAGE 0x33\r | |
238 | \r | |
239 | //\r | |
240 | // Constants and Structure definitions for "Send ICMB Event Message" command to follow here\r | |
241 | //\r | |
242 | \r | |
243 | #endif\r |