diff options
author | William G. Hoffa <wghoffa@us.ibm.com> | 2017-02-23 21:33:34 -0500 |
---|---|---|
committer | William G. Hoffa <wghoffa@us.ibm.com> | 2017-02-27 15:23:44 -0500 |
commit | 9375e99c7a748cba00994b582be7571b8cc271dc (patch) | |
tree | 4faefb782c00431265ddcb9ba3b9078be0e52656 /src/usr/ipmi/ipmisensor.C | |
parent | 71d3e7f06404203885ae2b4a96676e5c1f921b42 (diff) | |
download | talos-hostboot-9375e99c7a748cba00994b582be7571b8cc271dc.tar.gz talos-hostboot-9375e99c7a748cba00994b582be7571b8cc271dc.zip |
Revert "Sending Firmware progress sensor is now synchronous"
This reverts commit 9b188cdec934275ce65eab3ade91398fdec4ddb9.
Change-Id: I6e61680c204734638b03f628abb1d0e4d4f590e8
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/36983
Reviewed-by: STEWART E. SMITH <stewart@linux.vnet.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Reviewed-by: William G. Hoffa <wghoffa@us.ibm.com>
Diffstat (limited to 'src/usr/ipmi/ipmisensor.C')
-rw-r--r-- | src/usr/ipmi/ipmisensor.C | 41 |
1 files changed, 1 insertions, 40 deletions
diff --git a/src/usr/ipmi/ipmisensor.C b/src/usr/ipmi/ipmisensor.C index 4b4a8f7f6..c4d0883d6 100644 --- a/src/usr/ipmi/ipmisensor.C +++ b/src/usr/ipmi/ipmisensor.C @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014,2016 */ +/* Contributors Listed Below - COPYRIGHT 2014,2017 */ /* [+] Google Inc. */ /* [+] International Business Machines Corp. */ /* */ @@ -558,45 +558,6 @@ namespace SENSOR }; // - // sendSetSensorReading - // - errlHndl_t FirmwareProgressSensor::sendSetSensorReading( - setSensorReadingRequest * i_data ) - { - size_t l_len = sizeof( setSensorReadingRequest ); - IPMI::completion_code cc = IPMI::CC_UNKBAD; - - //i_data will hold the response when this returns - errlHndl_t l_err = sendrecv(IPMI::set_sensor_reading(), - cc, - l_len, - (uint8_t*&)i_data ); - // If no error, check completion code - if( (l_err == NULL) && (cc != IPMI::CC_OK) ) - { - TRACFCOMP(g_trac_ipmi, "bad completion code from BMC=0x%x",cc); - - /*@ - * @errortype ERRL_SEV_INFORMATIONAL - * @moduleid IPMI::MOD_IPMI_PROG_SENSOR - * @reasoncode IPMI::RC_SET_SENSOR_FAILURE - * @userdata1 BMC IPMI Completion code. - * @devdesc Request to set the firmware progress - * sensor failed. - */ - l_err = new ERRORLOG::ErrlEntry( - ERRORLOG::ERRL_SEV_INFORMATIONAL, - IPMI::MOD_IPMI_PROG_SENSOR, - IPMI::RC_SET_SENSOR_FAILURE, - static_cast<uint64_t>(cc), - 0, - true ); - l_err->collectTrace(IPMI_COMP_NAME); - } - return l_err; - } - - // // RebootCountSensor constructor - uses system target // RebootCountSensor::RebootCountSensor() |