1 /*
2  * Copyright (c) Pigeon Point Systems. All right reserved
3  */
4 
5 #ifndef _IPMI_VITA_H_
6 #define _IPMI_VITA_H_
7 
8 /* VITA 46.11 commands */
9 #define VITA_GET_VSO_CAPABILITIES_CMD		0x00
10 #define VITA_FRU_CONTROL_CMD			0x04
11 #define VITA_GET_FRU_LED_PROPERTIES_CMD		0x05
12 #define VITA_GET_LED_COLOR_CAPABILITIES_CMD	0x06
13 #define VITA_SET_FRU_LED_STATE_CMD		0x07
14 #define VITA_GET_FRU_LED_STATE_CMD		0x08
15 #define VITA_SET_FRU_STATE_POLICY_BITS_CMD	0x0A
16 #define VITA_GET_FRU_STATE_POLICY_BITS_CMD	0x0B
17 #define VITA_SET_FRU_ACTIVATION_CMD		0x0C
18 #define VITA_GET_FRU_ADDRESS_INFO_CMD		0x40
19 
20 /* VITA 46.11 site types */
21 #define VITA_FRONT_VPX_MODULE		0x00
22 #define VITA_POWER_ENTRY		0x01
23 #define VITA_CHASSIS_FRU		0x02
24 #define VITA_DEDICATED_CHMC		0x03
25 #define VITA_FAN_TRAY			0x04
26 #define VITA_FAN_TRAY_FILTER		0x05
27 #define VITA_ALARM_PANEL		0x06
28 #define VITA_XMC			0x07
29 #define VITA_VPX_RTM			0x09
30 #define VITA_FRONT_VME_MODULE		0x0A
31 #define VITA_FRONT_VXS_MODULE		0x0B
32 #define VITA_POWER_SUPPLY		0x0C
33 #define VITA_FRONT_VITA62_MODULE	0x0D
34 #define VITA_71_MODULE			0x0E
35 #define VITA_FMC			0x0F
36 
37 
38 #define GROUP_EXT_VITA		0x03
39 
40 extern uint8_t
41 vita_discover(struct ipmi_intf *intf);
42 
43 extern uint8_t
44 ipmi_vita_ipmb_address(struct ipmi_intf *intf);
45 
46 extern int
47 ipmi_vita_main(struct ipmi_intf * intf, int argc, char ** argv);
48 
49 #endif /* _IPMI_VITA_H_ */
50