From 83335d59ac593a543bcbe8c9c2f030798c02a2dc Mon Sep 17 00:00:00 2001 From: Corey Swenson Date: Thu, 1 Nov 2018 10:12:13 -0500 Subject: Enable IPMI errl after targeting is initialized A recent change split IPMI into base and extended. Move the enable of IPMI errl from base to extended to avoid targeting errors. Change-Id: Ia833dd8178ff407dff1fa514b32468c5fc70e945 CQ:SW450286 Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/68265 Tested-by: Jenkins Server Tested-by: Jenkins OP Build CI Tested-by: Jenkins OP HW Tested-by: FSP CI Jenkins Reviewed-by: ANDREW R. JEFFERY Reviewed-by: Michael Baiocchi Reviewed-by: Daniel M. Crowell --- src/usr/ipmiext/ipmisel.C | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/usr/ipmiext/ipmisel.C') diff --git a/src/usr/ipmiext/ipmisel.C b/src/usr/ipmiext/ipmisel.C index 369c5b79f..dafcabca0 100644 --- a/src/usr/ipmiext/ipmisel.C +++ b/src/usr/ipmiext/ipmisel.C @@ -592,5 +592,19 @@ void IpmiSEL::execute(void) IPMI_TRAC(EXIT_MRK "message loop"); return; } // execute + + +/* + * @brief enable IPMI errl + */ +void IpmiSEL::errlEnable(errlHndl_t& o_errl) +{ + // call ErrlManager function - tell him that IPMI is ready! + ERRORLOG::ErrlManager::errlResourceReady(ERRORLOG::IPMI); +} + +TASK_ENTRY_MACRO( IpmiSEL::errlEnable ); + + #endif -- cgit v1.2.1