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