122851890Sopenharmony_ci/**************************************************************************** 222851890Sopenharmony_ci **************************************************************************** 322851890Sopenharmony_ci *** 422851890Sopenharmony_ci *** This header was automatically generated from a Linux kernel header 522851890Sopenharmony_ci *** of the same name, to make information necessary for userspace to 622851890Sopenharmony_ci *** call into the kernel available to libc. It contains only constants, 722851890Sopenharmony_ci *** structures, and macros generated from the original header, and thus, 822851890Sopenharmony_ci *** contains no copyrightable information. 922851890Sopenharmony_ci *** 1022851890Sopenharmony_ci *** To edit the content of this header, modify the corresponding 1122851890Sopenharmony_ci *** source file (e.g. under external/kernel-headers/original/) then 1222851890Sopenharmony_ci *** run bionic/libc/kernel/tools/update_all.py 1322851890Sopenharmony_ci *** 1422851890Sopenharmony_ci *** Any manual change here will be lost the next time this script will 1522851890Sopenharmony_ci *** be run. You've been warned! 1622851890Sopenharmony_ci *** 1722851890Sopenharmony_ci **************************************************************************** 1822851890Sopenharmony_ci ****************************************************************************/ 1922851890Sopenharmony_ci#ifndef __LINUX_IPMI_MSGDEFS_H 2022851890Sopenharmony_ci#define __LINUX_IPMI_MSGDEFS_H 2122851890Sopenharmony_ci#define IPMI_NETFN_SENSOR_EVENT_REQUEST 0x04 2222851890Sopenharmony_ci#define IPMI_NETFN_SENSOR_EVENT_RESPONSE 0x05 2322851890Sopenharmony_ci#define IPMI_GET_EVENT_RECEIVER_CMD 0x01 2422851890Sopenharmony_ci#define IPMI_NETFN_APP_REQUEST 0x06 2522851890Sopenharmony_ci#define IPMI_NETFN_APP_RESPONSE 0x07 2622851890Sopenharmony_ci#define IPMI_GET_DEVICE_ID_CMD 0x01 2722851890Sopenharmony_ci#define IPMI_COLD_RESET_CMD 0x02 2822851890Sopenharmony_ci#define IPMI_WARM_RESET_CMD 0x03 2922851890Sopenharmony_ci#define IPMI_CLEAR_MSG_FLAGS_CMD 0x30 3022851890Sopenharmony_ci#define IPMI_GET_DEVICE_GUID_CMD 0x08 3122851890Sopenharmony_ci#define IPMI_GET_MSG_FLAGS_CMD 0x31 3222851890Sopenharmony_ci#define IPMI_SEND_MSG_CMD 0x34 3322851890Sopenharmony_ci#define IPMI_GET_MSG_CMD 0x33 3422851890Sopenharmony_ci#define IPMI_SET_BMC_GLOBAL_ENABLES_CMD 0x2e 3522851890Sopenharmony_ci#define IPMI_GET_BMC_GLOBAL_ENABLES_CMD 0x2f 3622851890Sopenharmony_ci#define IPMI_READ_EVENT_MSG_BUFFER_CMD 0x35 3722851890Sopenharmony_ci#define IPMI_GET_CHANNEL_INFO_CMD 0x42 3822851890Sopenharmony_ci#define IPMI_BMC_RCV_MSG_INTR 0x01 3922851890Sopenharmony_ci#define IPMI_BMC_EVT_MSG_INTR 0x02 4022851890Sopenharmony_ci#define IPMI_BMC_EVT_MSG_BUFF 0x04 4122851890Sopenharmony_ci#define IPMI_BMC_SYS_LOG 0x08 4222851890Sopenharmony_ci#define IPMI_NETFN_STORAGE_REQUEST 0x0a 4322851890Sopenharmony_ci#define IPMI_NETFN_STORAGE_RESPONSE 0x0b 4422851890Sopenharmony_ci#define IPMI_ADD_SEL_ENTRY_CMD 0x44 4522851890Sopenharmony_ci#define IPMI_NETFN_FIRMWARE_REQUEST 0x08 4622851890Sopenharmony_ci#define IPMI_NETFN_FIRMWARE_RESPONSE 0x09 4722851890Sopenharmony_ci#define IPMI_BMC_SLAVE_ADDR 0x20 4822851890Sopenharmony_ci#define IPMI_MAX_MSG_LENGTH 272 4922851890Sopenharmony_ci#define IPMI_CC_NO_ERROR 0x00 5022851890Sopenharmony_ci#define IPMI_NODE_BUSY_ERR 0xc0 5122851890Sopenharmony_ci#define IPMI_INVALID_COMMAND_ERR 0xc1 5222851890Sopenharmony_ci#define IPMI_TIMEOUT_ERR 0xc3 5322851890Sopenharmony_ci#define IPMI_ERR_MSG_TRUNCATED 0xc6 5422851890Sopenharmony_ci#define IPMI_REQ_LEN_INVALID_ERR 0xc7 5522851890Sopenharmony_ci#define IPMI_REQ_LEN_EXCEEDED_ERR 0xc8 5622851890Sopenharmony_ci#define IPMI_DEVICE_IN_FW_UPDATE_ERR 0xd1 5722851890Sopenharmony_ci#define IPMI_DEVICE_IN_INIT_ERR 0xd2 5822851890Sopenharmony_ci#define IPMI_NOT_IN_MY_STATE_ERR 0xd5 5922851890Sopenharmony_ci#define IPMI_LOST_ARBITRATION_ERR 0x81 6022851890Sopenharmony_ci#define IPMI_BUS_ERR 0x82 6122851890Sopenharmony_ci#define IPMI_NAK_ON_WRITE_ERR 0x83 6222851890Sopenharmony_ci#define IPMI_ERR_UNSPECIFIED 0xff 6322851890Sopenharmony_ci#define IPMI_CHANNEL_PROTOCOL_IPMB 1 6422851890Sopenharmony_ci#define IPMI_CHANNEL_PROTOCOL_ICMB 2 6522851890Sopenharmony_ci#define IPMI_CHANNEL_PROTOCOL_SMBUS 4 6622851890Sopenharmony_ci#define IPMI_CHANNEL_PROTOCOL_KCS 5 6722851890Sopenharmony_ci#define IPMI_CHANNEL_PROTOCOL_SMIC 6 6822851890Sopenharmony_ci#define IPMI_CHANNEL_PROTOCOL_BT10 7 6922851890Sopenharmony_ci#define IPMI_CHANNEL_PROTOCOL_BT15 8 7022851890Sopenharmony_ci#define IPMI_CHANNEL_PROTOCOL_TMODE 9 7122851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_IPMB 1 7222851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_ICMB10 2 7322851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_ICMB09 3 7422851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_8023LAN 4 7522851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_ASYNC 5 7622851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_OTHER_LAN 6 7722851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_PCI_SMBUS 7 7822851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_SMBUS1 8 7922851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_SMBUS2 9 8022851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_USB1 10 8122851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_USB2 11 8222851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_SYSINTF 12 8322851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_OEM_MIN 0x60 8422851890Sopenharmony_ci#define IPMI_CHANNEL_MEDIUM_OEM_MAX 0x7f 8522851890Sopenharmony_ci#endif 86