X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fipmi.h;h=af8df35c1cfa09ed0544904ce6ba79d83d20a160;hp=eb2a1831638ed9c8350db4b4b11e1789df3661f4;hb=1c3cb3b066bae9a981732d6ab868cee6df2136b4;hpb=0dae90626e54e46372c9feddc2f9ac82f046547d diff --git a/discover/ipmi.h b/discover/ipmi.h index eb2a183..af8df35 100644 --- a/discover/ipmi.h +++ b/discover/ipmi.h @@ -9,7 +9,9 @@ enum ipmi_netfn { IPMI_NETFN_CHASSIS = 0x0, IPMI_NETFN_SE = 0x04, + IPMI_NETFN_APP = 0x06, IPMI_NETFN_TRANSPORT = 0x0c, + IPMI_NETFN_AMI = 0x3a, }; enum ipmi_cmd { @@ -17,6 +19,8 @@ enum ipmi_cmd { IPMI_CMD_CHASSIS_GET_SYSTEM_BOOT_OPTIONS = 0x09, IPMI_CMD_SENSOR_SET = 0x30, IPMI_CMD_TRANSPORT_GET_LAN_PARAMS = 0x02, + IPMI_CMD_APP_GET_DEVICE_ID = 0x01, + IPMI_CMD_APP_GET_DEVICE_ID_GOLDEN = 0x1a, }; enum ipmi_sensor_ids { @@ -34,4 +38,8 @@ int ipmi_transaction(struct ipmi *ipmi, uint8_t netfn, uint8_t cmd, uint8_t *resp_buf, uint16_t *resp_len, int timeout_ms); +int parse_ipmi_interface_override(struct config *config, uint8_t *buf, + uint16_t len); + + #endif /* _IPMI_H */