diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-01 12:21:52 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2014-12-01 12:21:52 +0100 |
commit | 096a497b36f208fb68a12c7ae7576ca0a69f919d (patch) | |
tree | 3845c9631fab6a3a6177813367ddd03f7867700b /include/ipmitool/hpm2.h | |
parent | 7b5768ae6a3fee6cb80300824b9e758021b22f2e (diff) | |
parent | 55031e72e6c02b4ae63e9052bad1a4b40002ac18 (diff) |
Import new upstream release 1.8.15
Diffstat (limited to 'include/ipmitool/hpm2.h')
-rw-r--r-- | include/ipmitool/hpm2.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 |