summaryrefslogtreecommitdiffstats
path: root/src/usr/ipmi/ipmisel.C
diff options
context:
space:
mode:
authorMatt Derksen <mderkse1@us.ibm.com>2017-11-07 10:35:37 -0600
committerWilliam G. Hoffa <wghoffa@us.ibm.com>2017-11-09 17:48:08 -0500
commit3378748dbc2e153ed005e832b8398adfb2729a74 (patch)
treedf5a7752591e007b8de9ea0c48ee91edde80bf9a /src/usr/ipmi/ipmisel.C
parent2b4e2315094efa8eb3e5b45480418bd86806a25f (diff)
downloadtalos-hostboot-3378748dbc2e153ed005e832b8398adfb2729a74.tar.gz
talos-hostboot-3378748dbc2e153ed005e832b8398adfb2729a74.zip
Fix some review comments for sending down OCC info logs to BMC
Change-Id: I9ed25562af671a6df34746d5900e781ff1dcc517 RTC:180324 Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/49366 Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com> Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com> Reviewed-by: Brian E. Bakke <bbakke@us.ibm.com> Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com> Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com> Reviewed-by: Elizabeth K. Liner <eliner@us.ibm.com> Reviewed-by: Christian R. Geddes <crgeddes@us.ibm.com> Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/ipmi/ipmisel.C')
-rw-r--r--src/usr/ipmi/ipmisel.C4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/usr/ipmi/ipmisel.C b/src/usr/ipmi/ipmisel.C
index 9bfb802ab..cbd9522c4 100644
--- a/src/usr/ipmi/ipmisel.C
+++ b/src/usr/ipmi/ipmisel.C
@@ -306,7 +306,8 @@ void send_esel(eselInitData * i_data,
// copy in the SEL event record data
memcpy(&data[PARTIAL_ADD_ESEL_REQ], i_data->eSel,
sizeof(selRecord));
- // update to make this what AMI eSEL wants
+
+ // add record type for this eSEL
if (i_infoCallHome)
{
data[PARTIAL_ADD_ESEL_REQ + offsetof(selRecord,record_type)] =
@@ -317,6 +318,7 @@ void send_esel(eselInitData * i_data,
data[PARTIAL_ADD_ESEL_REQ + offsetof(selRecord,record_type)] =
record_type_ami_esel;
}
+
data[PARTIAL_ADD_ESEL_REQ + offsetof(selRecord,event_data1)] =
event_data1_ami;
OpenPOWER on IntegriCloud