diff options
author | Samuel Mendoza-Jonas <sam@mendozajonas.com> | 2019-05-09 13:08:39 +1000 |
---|---|---|
committer | oohal <oohal@users.noreply.github.com> | 2019-05-10 16:50:45 +1000 |
commit | 9834b0874af41b90bf3f65b7e6077a72bef8c0cd (patch) | |
tree | 28959b23677170f774a1244ba90e90530210423f | |
parent | 2cc067ede57092b48f19bf0822332144a3b21fbe (diff) | |
download | skiboot-9834b0874af41b90bf3f65b7e6077a72bef8c0cd.zip skiboot-9834b0874af41b90bf3f65b7e6077a72bef8c0cd.tar.gz skiboot-9834b0874af41b90bf3f65b7e6077a72bef8c0cd.tar.bz2 |
include/ipmi: Fix incorrect chassis commands
[ Upstream commit bc2b1de3beb2ee7904d936b10c8a57cd220d8ddc ]
These commands are listed in the order they appear in the IPMI
specification but with the wrong values - correct them!
Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Reviewed-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
-rw-r--r-- | include/ipmi.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/ipmi.h b/include/ipmi.h index ea5a0a9..ac6dd90 100644 --- a/include/ipmi.h +++ b/include/ipmi.h @@ -47,13 +47,13 @@ #define IPMI_CHASSIS_CONTROL_CMD 0x02 #define IPMI_CHASSIS_RESET_CMD 0x03 #define IPMI_CHASSIS_IDENTIFY_CMD 0x04 -#define IPMI_CHASSIS_SET_PANEL_BUTTON_EN_CMD 0x05 -#define IPMI_CHASSIS_SET_CAP_CMD 0x06 -#define IPMI_CHASSIS_SET_PWR_RESTORE_CMD 0x07 -#define IPMI_CHASSIS_SET_PWR_CYCLE_CMD 0x08 -#define IPMI_CHASSIS_GET_SYS_RESTART_CAUSE_CMD 0x09 -#define IPMI_CHASSIS_SET_SYS_BOOT_OPT_CMD 0x0a -#define IPMI_CHASSIS_GET_SYS_BOOT_OPT_CMD 0x0b +#define IPMI_CHASSIS_SET_PANEL_BUTTON_EN_CMD 0x0a +#define IPMI_CHASSIS_SET_CAP_CMD 0x05 +#define IPMI_CHASSIS_SET_PWR_RESTORE_CMD 0x06 +#define IPMI_CHASSIS_SET_PWR_CYCLE_CMD 0x0b +#define IPMI_CHASSIS_GET_SYS_RESTART_CAUSE_CMD 0x07 +#define IPMI_CHASSIS_SET_SYS_BOOT_OPT_CMD 0x08 +#define IPMI_CHASSIS_GET_SYS_BOOT_OPT_CMD 0x09 #define IPMI_CHASSIS_GET_POH_COUNTER_CMD 0x0f |