From 55031e72e6c02b4ae63e9052bad1a4b40002ac18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 1 Dec 2014 12:15:48 +0100 Subject: Imported Upstream version 1.8.15 --- include/ipmitool/hpm2.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/ipmitool/hpm2.h') diff --git a/include/ipmitool/hpm2.h b/include/ipmitool/hpm2.h index 1c0a612..9e2a3a6 100644 --- a/include/ipmitool/hpm2.h +++ b/include/ipmitool/hpm2.h @@ -39,6 +39,11 @@ #define HPM2_LAN_PARAMS_REV 0x01 #define HPM2_SOL_PARAMS_REV 0x01 #define HPM3_LAN_PARAMS_REV 0x01 +/* IPMI defines parameter revision as + * MSN = present revision, + * LSN = oldest revision parameter is + * backward compatible with. */ +#define LAN_PARAM_REV(x, y) ((x) << 4 | (y) & 0xF) /* HPM.2 capabilities */ #define HPM2_CAPS_SOL_EXTENSION 0x01 -- cgit v1.2.3