diff options
author | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-04-08 09:45:43 +1000 |
---|---|---|
committer | Samuel Mendoza-Jonas <sam.mj@au1.ibm.com> | 2015-05-05 15:03:53 +1000 |
commit | b9af039e99527159aad905c3395fa974b9621f8e (patch) | |
tree | 7d7289700e60c55bcf9636da8119026ad7cf7cc6 /discover/ipmi.h | |
parent | 893cfce3e9ea91a68e678829fb8e7e37102e2b41 (diff) | |
download | petitboot-b9af039e99527159aad905c3395fa974b9621f8e.zip petitboot-b9af039e99527159aad905c3395fa974b9621f8e.tar.gz |
lib: Move ipmi_bootdev enum to types.h
Move the ipmi_bootdev definition to types.h to support returning
descriptive strings to the system configuration UI.
Signed-off-by: Samuel Mendoza-Jonas <sam.mj@au1.ibm.com>
Diffstat (limited to 'discover/ipmi.h')
-rw-r--r-- | discover/ipmi.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/discover/ipmi.h b/discover/ipmi.h index 83f2910..3b11683 100644 --- a/discover/ipmi.h +++ b/discover/ipmi.h @@ -4,6 +4,8 @@ #include <stdbool.h> #include <stdint.h> +#include <types/types.h> + enum ipmi_netfn { IPMI_NETFN_CHASSIS = 0x0, IPMI_NETFN_SE = 0x04, @@ -15,15 +17,6 @@ enum ipmi_cmd { 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, }; |