summaryrefslogtreecommitdiffstats
path: root/user_channel/channel_layer.hpp
diff options
context:
space:
mode:
authorssekar <suryakanth.sekar@intel.com>2018-07-25 18:49:08 +0530
committerRichard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>2018-11-20 10:09:55 +0530
commitf4b2b090a4c67e132d4c22fdc13ecbb261c6147a (patch)
tree39f81e40a78f9f700414cad53ed89b927802bcaa /user_channel/channel_layer.hpp
parent9613ed76ba9c60232ee2064a36c10f5bd7b81b84 (diff)
downloadphosphor-host-ipmid-f4b2b090a4c67e132d4c22fdc13ecbb261c6147a.tar.gz
phosphor-host-ipmid-f4b2b090a4c67e132d4c22fdc13ecbb261c6147a.zip
Added suppport to convert self channel number.
Define API for getting self channel number. Change-Id: I4027f580f30bd2ba84b11260f11f86eb8e9af1ff Signed-off-by: ssekar <suryakanth.sekar@intel.com> Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
Diffstat (limited to 'user_channel/channel_layer.hpp')
-rw-r--r--user_channel/channel_layer.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/user_channel/channel_layer.hpp b/user_channel/channel_layer.hpp
index 4c931df..fa15378 100644
--- a/user_channel/channel_layer.hpp
+++ b/user_channel/channel_layer.hpp
@@ -22,6 +22,7 @@ namespace ipmi
{
static constexpr uint8_t maxIpmiChannels = 16;
+static constexpr uint8_t selfChNum = 0xE;
// IPMI return codes specific to channel
enum ipmi_channel_return_codes
OpenPOWER on IntegriCloud