]>
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 | |
9344f092 | 10 | SPDX-License-Identifier: BSD-2-Clause-Patent\r |
e59a797f DB |
11 | **/\r |
12 | \r | |
13 | #ifndef _IPMI_NET_FN_BRIDGE_H_\r | |
14 | #define _IPMI_NET_FN_BRIDGE_H_\r | |
15 | \r | |
16 | //\r | |
17 | // Net function definition for Bridge command\r | |
18 | //\r | |
2f88bd3a | 19 | #define IPMI_NETFN_BRIDGE 0x02\r |
e59a797f DB |
20 | \r |
21 | //\r | |
22 | // Definitions for Get Bridge State command\r | |
23 | //\r | |
24 | #define IPMI_BRIDGE_GET_STATE 0x00\r | |
25 | \r | |
26 | //\r | |
27 | // Constants and Structure definitions for "Get Bridge State" command to follow here\r | |
28 | //\r | |
29 | \r | |
30 | //\r | |
31 | // Definitions for Set Bridge State command\r | |
32 | //\r | |
33 | #define IPMI_BRIDGE_SET_STATE 0x01\r | |
34 | \r | |
35 | //\r | |
36 | // Constants and Structure definitions for "Set Bridge State" command to follow here\r | |
37 | //\r | |
38 | \r | |
39 | //\r | |
40 | // Definitions for Get ICMB Address command\r | |
41 | //\r | |
2f88bd3a | 42 | #define IPMI_BRIDGE_GET_ICMB_ADDRESS 0x02\r |
e59a797f DB |
43 | \r |
44 | //\r | |
45 | // Constants and Structure definitions for "Get ICMB Address" command to follow here\r | |
46 | //\r | |
47 | \r | |
48 | //\r | |
49 | // Definitions for Set ICMB Address command\r | |
50 | //\r | |
2f88bd3a | 51 | #define IPMI_BRIDGE_SET_ICMB_ADDRESS 0x03\r |
e59a797f DB |
52 | \r |
53 | //\r | |
54 | // Constants and Structure definitions for "Set ICMB Address" command to follow here\r | |
55 | //\r | |
56 | \r | |
57 | //\r | |
58 | // Definitions for Set Bridge Proxy Address command\r | |
59 | //\r | |
60 | #define IPMI_BRIDGE_SET_PROXY_ADDRESS 0x04\r | |
61 | \r | |
62 | //\r | |
63 | // Constants and Structure definitions for "Set Bridge Proxy Address" command to follow here\r | |
64 | //\r | |
65 | \r | |
66 | //\r | |
67 | // Definitions for Get Bridge Statistics command\r | |
68 | //\r | |
69 | #define IPMI_BRIDGE_GET_BRIDGE_STATISTICS 0x05\r | |
70 | \r | |
71 | //\r | |
72 | // Constants and Structure definitions for "Get Bridge Statistics" command to follow here\r | |
73 | //\r | |
74 | \r | |
75 | //\r | |
76 | // Definitions for Get ICMB Capabilities command\r | |
77 | //\r | |
78 | #define IPMI_BRIDGE_GET_ICMB_CAPABILITIES 0x06\r | |
79 | \r | |
80 | //\r | |
81 | // Constants and Structure definitions for "Get ICMB Capabilities" command to follow here\r | |
82 | //\r | |
83 | \r | |
84 | //\r | |
85 | // Definitions for Clear Bridge Statistics command\r | |
86 | //\r | |
2f88bd3a | 87 | #define IPMI_BRIDGE_CLEAR_STATISTICS 0x08\r |
e59a797f DB |
88 | \r |
89 | //\r | |
90 | // Constants and Structure definitions for "Clear Bridge Statistics" command to follow here\r | |
91 | //\r | |
92 | \r | |
93 | //\r | |
94 | // Definitions for Get Bridge Proxy Address command\r | |
95 | //\r | |
96 | #define IPMI_BRIDGE_GET_PROXY_ADDRESS 0x09\r | |
97 | \r | |
98 | //\r | |
99 | // Constants and Structure definitions for "Get Bridge Proxy Address" command to follow here\r | |
100 | //\r | |
101 | \r | |
102 | //\r | |
103 | // Definitions for Get ICMB Connector Info command\r | |
104 | //\r | |
105 | #define IPMI_BRIDGE_GET_ICMB_CONNECTOR_INFO 0x0A\r | |
106 | \r | |
107 | //\r | |
108 | // Constants and Structure definitions for "Get ICMB Connector Info " command to follow here\r | |
109 | //\r | |
110 | \r | |
111 | //\r | |
112 | // Definitions for Get ICMB Connection ID command\r | |
113 | //\r | |
2f88bd3a | 114 | #define IPMI_BRIDGE_GET_ICMB_CONNECTION_ID 0x0B\r |
e59a797f DB |
115 | \r |
116 | //\r | |
117 | // Constants and Structure definitions for "Get ICMB Connection ID" command to follow here\r | |
118 | //\r | |
119 | \r | |
120 | //\r | |
121 | // Definitions for Get ICMB Connection ID command\r | |
122 | //\r | |
123 | #define IPMI_BRIDGE_SEND_ICMB_CONNECTION_ID 0x0C\r | |
124 | \r | |
125 | //\r | |
126 | // Constants and Structure definitions for "Send ICMB Connection ID" command to follow here\r | |
127 | //\r | |
128 | \r | |
129 | //\r | |
b219e2cd | 130 | // Definitions for Prepare for Discovery command\r |
e59a797f DB |
131 | //\r |
132 | #define IPMI_BRIDGE_PREPARE_FOR_DISCOVERY 0x10\r | |
133 | \r | |
134 | //\r | |
b219e2cd | 135 | // Constants and Structure definitions for "Prepare for Discovery" command to follow here\r |
e59a797f DB |
136 | //\r |
137 | \r | |
138 | //\r | |
139 | // Definitions for Get Addresses command\r | |
140 | //\r | |
141 | #define IPMI_BRIDGE_GET_ADDRESSES 0x11\r | |
142 | \r | |
143 | //\r | |
144 | // Constants and Structure definitions for "Get Addresses" command to follow here\r | |
145 | //\r | |
146 | \r | |
147 | //\r | |
148 | // Definitions for Set Discovered command\r | |
149 | //\r | |
2f88bd3a | 150 | #define IPMI_BRIDGE_SET_DISCOVERED 0x12\r |
e59a797f DB |
151 | \r |
152 | //\r | |
153 | // Constants and Structure definitions for "Set Discovered" command to follow here\r | |
154 | //\r | |
155 | \r | |
156 | //\r | |
157 | // Definitions for Get Chassis Device ID command\r | |
158 | //\r | |
2f88bd3a | 159 | #define IPMI_BRIDGE_GET_CHASSIS_DEVICEID 0x13\r |
e59a797f DB |
160 | \r |
161 | //\r | |
162 | // Constants and Structure definitions for "Get Chassis Device ID" command to follow here\r | |
163 | //\r | |
164 | \r | |
165 | //\r | |
166 | // Definitions for Set Chassis Device ID command\r | |
167 | //\r | |
2f88bd3a | 168 | #define IPMI_BRIDGE_SET_CHASSIS_DEVICEID 0x14\r |
e59a797f DB |
169 | \r |
170 | //\r | |
171 | // Constants and Structure definitions for "Set Chassis Device ID" command to follow here\r | |
172 | //\r | |
173 | \r | |
174 | //\r | |
175 | // Definitions for Bridge Request command\r | |
176 | //\r | |
177 | #define IPMI_BRIDGE_REQUEST 0x20\r | |
178 | \r | |
179 | //\r | |
180 | // Constants and Structure definitions for "Bridge Request" command to follow here\r | |
181 | //\r | |
182 | \r | |
183 | //\r | |
184 | // Definitions for Bridge Message command\r | |
185 | //\r | |
186 | #define IPMI_BRIDGE_MESSAGE 0x21\r | |
187 | \r | |
188 | //\r | |
189 | // Constants and Structure definitions for "Bridge Message" command to follow here\r | |
190 | //\r | |
191 | \r | |
192 | //\r | |
193 | // Definitions for Get Event Count command\r | |
194 | //\r | |
195 | #define IPMI_BRIDGE_GET_EVENT_COUNT 0x30\r | |
196 | \r | |
197 | //\r | |
198 | // Constants and Structure definitions for "Get Event Count" command to follow here\r | |
199 | //\r | |
200 | \r | |
201 | //\r | |
202 | // Definitions for Set Event Destination command\r | |
203 | //\r | |
204 | #define IPMI_BRIDGE_SET_EVENT_DESTINATION 0x31\r | |
205 | \r | |
206 | //\r | |
207 | // Constants and Structure definitions for "Set Event Destination" command to follow here\r | |
208 | //\r | |
209 | \r | |
210 | //\r | |
211 | // Definitions for Set Event Reception State command\r | |
212 | //\r | |
213 | #define IPMI_BRIDGE_SET_EVENT_RECEPTION_STATE 0x32\r | |
214 | \r | |
215 | //\r | |
216 | // Constants and Structure definitions for "Set Event Reception State" command to follow here\r | |
217 | //\r | |
218 | \r | |
219 | //\r | |
220 | // Definitions for Set Event Reception State command\r | |
221 | //\r | |
222 | #define IPMI_BRIDGE_SET_EVENT_RECEPTION_STATE 0x32\r | |
223 | \r | |
224 | //\r | |
225 | // Constants and Structure definitions for "Set Event Reception State" command to follow here\r | |
226 | //\r | |
227 | \r | |
228 | //\r | |
229 | // Definitions for Send ICMB Event Message command\r | |
230 | //\r | |
231 | #define IPMI_BRIDGE_SEND_ICMB_EVENT_MESSAGE 0x33\r | |
232 | \r | |
233 | //\r | |
234 | // Constants and Structure definitions for "Send ICMB Event Message" command to follow here\r | |
235 | //\r | |
236 | \r | |
237 | #endif\r |