From 6e1541d8bb6fbdbccf963941db9ab79bae2365e9 Mon Sep 17 00:00:00 2001 From: Elizabeth Liner Date: Mon, 18 Jan 2016 11:27:52 -0600 Subject: Set watchdog and set sensors are now asynchronous sends Backport: master-p8 Change-Id: If8741e67986c6d6df95a655fb5669df764649e82 Reviewed-on: http://gfw160.aus.stglabs.ibm.com:8080/gerrit/18993 Tested-by: Jenkins Server Reviewed-by: Brian Silver Reviewed-by: Richard J. Knight Reviewed-by: WILLIAM G. HOFFA Reviewed-by: Daniel M. Crowell --- src/include/usr/ipmi/ipmisensor.H | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'src/include/usr') diff --git a/src/include/usr/ipmi/ipmisensor.H b/src/include/usr/ipmi/ipmisensor.H index ba7d7bfd1..23dc594da 100644 --- a/src/include/usr/ipmi/ipmisensor.H +++ b/src/include/usr/ipmi/ipmisensor.H @@ -5,7 +5,7 @@ /* */ /* OpenPOWER HostBoot Project */ /* */ -/* Contributors Listed Below - COPYRIGHT 2014,2015 */ +/* Contributors Listed Below - COPYRIGHT 2014,2016 */ /* [+] International Business Machines Corp. */ /* */ /* */ @@ -359,24 +359,16 @@ namespace SENSOR /** * @brief Send set sensor reading and event status command * Helper function to send the sensor reading to the BMC, this - * command executes synchronously. + * command executes asynchronously. * - * @param[inout] io_data - Initially contains the command and data - * to send to the BMC, will hold the BMC - * response when the command returns. - * - * @param[out] o_completion_code - Return value defined by the IPMI - * spec and returned in the message - * from the BMC to indicate if the - * command processing completed - * successfully. + * @param[in] i_data - Contains the command and data + * to send to the BMC. * * @return Errorlog handle * */ errlHndl_t sendSetSensorReading( - setSensorReadingRequest *& io_data, - IPMI::completion_code& o_completion_code ); + setSensorReadingRequest * i_data); /** * @brief helper function to get the sensor nubmer -- cgit v1.2.3