<html><body><p><tt>CMD_POWER_OFF</tt> is for soft-off.<br><br>CMD_HARD_RESET is for hard reset.<br><br>Thanks<br><br>-------------------------------------------------------------------------------------<br>Thanks and Regards,<br>Vishwanath.<br>Advisory Software Engineer,<br>Power Firmware Development, <br>Systems &Technology Lab,<br>MG2-6F-255 , Manyata Embassy Business Park, <br>Bangalore , KA , 560045<br>Ph: +91-80-46678255<br>E-mail: vishwanath@in.ibm.com<br>----------------------------------------------------------------------------------<br><br><img width="16" height="16" src="cid:1__=EABBF58DDFB770678f9e8a93df938690918cEAB@" border="0" alt="Inactive hide details for Stewart Smith ---17/12/2015 02:57:53 am---OpenBMC Patches <openbmc-patches@stwcx.xyz> writes: > @@ -8"><font color="#424282">Stewart Smith ---17/12/2015 02:57:53 am---OpenBMC Patches <openbmc-patches@stwcx.xyz> writes: > @@ -89,11 +90,11 @@ ipmi_ret_t ipmi_chassis_co</font><br><br><font size="2" color="#5F5F5F">From:        </font><font size="2">Stewart Smith <stewart@linux.vnet.ibm.com></font><br><font size="2" color="#5F5F5F">To:        </font><font size="2">OpenBMC Patches <openbmc-patches@stwcx.xyz>, openbmc@lists.ozlabs.org</font><br><font size="2" color="#5F5F5F">Date:        </font><font size="2">17/12/2015 02:57 am</font><br><font size="2" color="#5F5F5F">Subject:        </font><font size="2">Re: [PATCH phosphor-host-ipmid v3 1/6] Support host reboot</font><br><font size="2" color="#5F5F5F">Sent by:        </font><font size="2">"openbmc" <openbmc-bounces+vishwanath=in.ibm.com@lists.ozlabs.org></font><br><hr width="100%" size="2" align="left" noshade style="color:#8091A5; "><br><br><br><tt>OpenBMC Patches <openbmc-patches@stwcx.xyz> writes:<br>> @@ -89,11 +90,11 @@ ipmi_ret_t ipmi_chassis_control(ipmi_netfn_t netfn, ipmi_cmd_t cmd,<br>>                   switch(chassis_ctrl_cmd)<br>>                   {<br>>                                    case CMD_POWER_OFF:<br>> +                                                   rc = ipmi_chassis_power_control("powerOff");<br>> +                                                   break;<br><br>Is this a hard power off or a soft one?<br><br>_______________________________________________<br>openbmc mailing list<br>openbmc@lists.ozlabs.org<br></tt><tt><a href="https://lists.ozlabs.org/listinfo/openbmc">https://lists.ozlabs.org/listinfo/openbmc</a></tt><tt><br></tt><br><br><BR>
</body></html>