X-Git-Url: http://git.ozlabs.org/?p=petitboot;a=blobdiff_plain;f=discover%2Fipmi.h;h=3b11683c0cbdb7ce7fcd7641bfccc3abef89acfb;hp=e60ff619215984c58da52293df3315ad9de773ce;hb=b9af039e99527159aad905c3395fa974b9621f8e;hpb=2e05b1dd0490ce7ecdd15f522e6c700bc6522062 diff --git a/discover/ipmi.h b/discover/ipmi.h index e60ff61..3b11683 100644 --- a/discover/ipmi.h +++ b/discover/ipmi.h @@ -4,22 +4,21 @@ #include #include +#include + enum ipmi_netfn { - IPMI_NETFN_CHASSIS = 0x0, + IPMI_NETFN_CHASSIS = 0x0, + IPMI_NETFN_SE = 0x04, }; enum ipmi_cmd { IPMI_CMD_CHASSIS_SET_SYSTEM_BOOT_OPTIONS = 0x08, IPMI_CMD_CHASSIS_GET_SYSTEM_BOOT_OPTIONS = 0x09, + IPMI_CMD_SENSOR_SET = 0x30, }; -enum ipmi_bootdev { - IPMI_BOOTDEV_NONE = 0x00, - IPMI_BOOTDEV_NETWORK = 0x01, - IPMI_BOOTDEV_DISK = 0x2, - IPMI_BOOTDEV_SAFE = 0x3, - IPMI_BOOTDEV_CDROM = 0x5, - IPMI_BOOTDEV_SETUP = 0x6, +enum ipmi_sensor_ids { + IPMI_SENSOR_ID_OS_BOOT = 0x1F, }; struct ipmi;