[v7,1/3] include/ipmi: Fix incorrect chassis commands
diff mbox series

Message ID 20190509030841.30628-1-sam@mendozajonas.com
State Accepted
Delegated to: Vasant Hegde
Headers show
Series
  • [v7,1/3] include/ipmi: Fix incorrect chassis commands
Related show

Commit Message

Samuel Mendoza-Jonas May 9, 2019, 3:08 a.m. UTC
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>
---
 include/ipmi.h | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

Comments

Oliver O'Halloran May 10, 2019, 4:56 a.m. UTC | #1
On Thu, May 9, 2019 at 1:09 PM Samuel Mendoza-Jonas
<sam@mendozajonas.com> wrote:
>
> 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>

Thanks, series merged to master as v6.3-3-gbc2b1de3beb2

> ---
>  include/ipmi.h | 14 +++++++-------
>  1 file changed, 7 insertions(+), 7 deletions(-)
>
> diff --git a/include/ipmi.h b/include/ipmi.h
> index 4999bb5a..da85c4b0 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
>
>
> --
> 2.21.0
>
> _______________________________________________
> Skiboot mailing list
> Skiboot@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/skiboot

Patch
diff mbox series

diff --git a/include/ipmi.h b/include/ipmi.h
index 4999bb5a..da85c4b0 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